1 // Copyright 2004-2007 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
.MonoRail
.Framework
.Internal
20 /// Common meta descriptor that represents configuration share by
21 /// controllers and actions.
24 public abstract class BaseMetaDescriptor
26 private LayoutDescriptor layout
;
27 private RescueDescriptor
[] rescues
= new RescueDescriptor
[0];
28 private ResourceDescriptor
[] resources
= new ResourceDescriptor
[0];
31 /// Gets or sets the layout descriptor.
33 /// <value>The layout.</value>
34 public LayoutDescriptor Layout
36 get { return layout; }
37 set { layout = value; }
41 /// Gets or sets the rescues descriptors.
43 /// <value>The rescues.</value>
44 public RescueDescriptor
[] Rescues
46 get { return rescues; }
47 set { rescues = value; }
51 /// Gets or sets the resources descriptors.
53 /// <value>The resources.</value>
54 public ResourceDescriptor
[] Resources
56 get { return resources; }
57 set { resources = value; }