Fixed test issue - PEVerify is now called with a quoted assembly path (to allow for...
[castle.git] / Tools / Castle.DynamicProxy2 / Castle.DynamicProxy.Tests / InterClasses / IMyInterface2.cs
blobed38f7f4851b37812d94cb7ffc8689b46b0cd3fc
1 namespace Castle.DynamicProxy.Tests.InterClasses
3 using System;
5 /// <summary>
6 /// Summary description for IMyInterface.
7 /// </summary>
8 public interface IMyInterface2
10 String Name { get; set; }
12 bool Started { get; set; }
14 int Calc(int x, int y);
16 int Calc(int x, int y, int z, Single k);
19 /// <summary>
20 /// Summary description for MyInterfaceImpl.
21 /// </summary>
22 [Serializable]
23 [MyAttribute("MyInterfaceImpl")]
24 public class MyInterfaceImpl : IMyInterface2
26 private String _name;
27 private bool _started;
29 public virtual String Name
31 get { return _name; }
32 set { _name = value; }
35 public virtual bool Started
37 get { return _started; }
38 set { _started = value; }
41 [MyAttribute("Calc1")]
42 public virtual int Calc(int x, int y)
44 return x + y;
47 [MyAttribute("Calc2")]
48 public virtual int Calc(int x, int y, int z, Single k)
50 return x + y + z + (int) k;
54 public class MyInterfaceImplX : MyInterfaceImpl
59 [AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Method)]
60 public class MyAttribute : Attribute
62 private string _name;
64 public MyAttribute(String name)
66 _name = name;
69 public string name
71 get { return _name; }