Simple impl to MockRailsEngineContext.Url
[castle.git] / Tools / DynamicProxy / Castle.DynamicProxy.Tests / Mixins / OtherMixin.cs
blob881326bdf7a8abd6c2b3de07b40b286525b96270
1 // Copyright 2004-2007 Castle Project - http://www.castleproject.org/
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
15 namespace Castle.DynamicProxy.Test.Mixins
17 using System;
19 public interface IOtherMixin
21 int Sum(int x, int y);
24 /// <summary>
25 /// Summary description for OtherMixin.
26 /// </summary>
27 [Serializable]
28 public class OtherMixin : IOtherMixin
30 public OtherMixin()
34 #region IOtherMixin Members
36 public int Sum(int x, int y)
38 return x + y;
41 #endregion