1 // Copyright 2004-2008 Castle Project - http://www.castleproject.org/
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
7 // http://www.apache.org/licenses/LICENSE-2.0
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
.Windsor
.Tests
.Components
19 using Castle
.Core
.Interceptor
;
22 /// Summary description for CalculatorServiceWithAttributes.
24 [Interceptor(typeof(StandardInterceptor
))]
25 public class CalculatorServiceWithMultipleInterfaces
: CalculatorService
, IDisposable
27 public CalculatorServiceWithMultipleInterfaces()
37 /// Summary description for CalculatorServiceWithAttributes.
39 [Interceptor(typeof(StandardInterceptor
))]
40 [ComponentProxyBehavior(UseSingleInterfaceProxy
= true)]
41 public class CalculatorServiceWithSingleProxyBehavior
: CalculatorService
, IDisposable
43 public CalculatorServiceWithSingleProxyBehavior()
53 /// Summary description for CalculatorServiceWithAttributes.
55 [Interceptor(typeof(StandardInterceptor
))]
56 [ComponentProxyBehavior(UseSingleInterfaceProxy
= false)]
57 public class CalculatorServiceWithoutSingleProxyBehavior
: CalculatorService
, IDisposable
59 public CalculatorServiceWithoutSingleProxyBehavior()
69 /// Summary description for CalculatorServiceWithAttributes.
71 [Interceptor(typeof(StandardInterceptor
))]
72 [ComponentProxyBehavior(UseMarshalByRefProxy
= true)]
73 public class CalculatorServiceWithMarshalByRefProxyBehavior
: CalculatorService
, IDisposable
75 public CalculatorServiceWithMarshalByRefProxyBehavior()