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
.MonoRail
.Framework
.Descriptors
18 using System
.Collections
.Generic
;
21 /// Holds the meta information for an action
24 public class ActionMetaDescriptor
: BaseMetaDescriptor
26 private SkipRescueAttribute skipRescue
;
27 private AccessibleThroughAttribute accessibleThrough
;
28 private IList
<SkipFilterAttribute
> skipFilters
= new List
<SkipFilterAttribute
>();
29 private TransformFilterDescriptor
[] transformFilters
= new TransformFilterDescriptor
[0];
32 /// Gets or sets the skip rescue associated with this action.
34 /// <value>The skip rescue.</value>
35 public SkipRescueAttribute SkipRescue
37 get { return skipRescue; }
38 set { skipRescue = value; }
42 /// Gets or sets the accessible through definition associated with this action.
44 /// <value>The accessible through.</value>
45 public AccessibleThroughAttribute AccessibleThrough
47 get { return accessibleThrough; }
48 set { accessibleThrough = value; }
52 /// Gets the skip filters associated with this action.
54 /// <value>The skip filters.</value>
55 public IList
<SkipFilterAttribute
> SkipFilters
57 get { return skipFilters; }
61 /// Gets or sets the transform filters associated with this action.
63 /// <value>The transform filters.</value>
64 public TransformFilterDescriptor
[] TransformFilters
66 get { return transformFilters; }
67 set { transformFilters = value; }