Added RedirectUsingNamedRoute
[castle.git] / InversionOfControl / Castle.Windsor.Tests / Components / ComponentWithProperties.cs
blobe9ca512edd822cc6501de4ebfdd9f011d6ee7e9a
1 // Copyright 2004-2008 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.Windsor.Tests.Components
17 using System;
19 public class ComponentWithProperties
21 private String prop1;
22 private int prop2;
24 public string Prop1
26 get { return prop1; }
27 set { prop1 = value; }
30 public int Prop2
32 get { return prop2; }
33 set { prop2 = value; }
37 public class ExtendedComponentWithProperties : ComponentWithProperties
39 private int prop3;
41 public int Prop3
43 get { return prop3; }
44 set { prop3 = value; }