Making sure that the NANT script will build with the correct resources name
[castle.git] / AspectSharp / AspectSharp.Tests / Classes / ComplexClass.cs
blob3b28da0e0263b65bde682320bbcf751a9f1e4781
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 AspectSharp.Tests.Classes
17 using System;
19 /// <summary>
20 /// Summary description for ComplexClass.
21 /// </summary>
22 [Serializable]
23 public class ComplexClass
25 private int _doMethodExecutionCount;
26 private String _name;
27 private bool _started;
29 public ComplexClass()
33 public ComplexClass(string name)
35 _name = name;
38 public ComplexClass(string name, bool started)
40 _name = name;
41 _started = started;
44 public virtual void DoNothing()
48 public virtual int DoSomething()
50 return 1;
53 public virtual int DoSomething(int value1)
55 return value1;
58 public virtual int DoSomething(int value1, String text)
60 return value1;
63 public virtual int Pong(ref int i)
65 return i;
68 public virtual int DoMethodExecutionCount
70 get { return _doMethodExecutionCount; }
71 set { _doMethodExecutionCount = value; }
74 public virtual String Name
76 get { return _name; }
77 set { _name = value; }
80 public virtual bool Started
82 get { return _started; }
83 set { _started = value; }