More working tests.
[castle.git] / MonoRail / Castle.MonoRail.Framework / Descriptors / ActionMetaDescriptor.cs
blob8b738488d1fd075a259a4e553b8afcb9300a30d0
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.MonoRail.Framework.Descriptors
17 using System;
18 using System.Collections.Generic;
20 /// <summary>
21 /// Holds the meta information for an action
22 /// </summary>
23 [Serializable]
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];
31 /// <summary>
32 /// Gets or sets the skip rescue associated with this action.
33 /// </summary>
34 /// <value>The skip rescue.</value>
35 public SkipRescueAttribute SkipRescue
37 get { return skipRescue; }
38 set { skipRescue = value; }
41 /// <summary>
42 /// Gets or sets the accessible through definition associated with this action.
43 /// </summary>
44 /// <value>The accessible through.</value>
45 public AccessibleThroughAttribute AccessibleThrough
47 get { return accessibleThrough; }
48 set { accessibleThrough = value; }
51 /// <summary>
52 /// Gets the skip filters associated with this action.
53 /// </summary>
54 /// <value>The skip filters.</value>
55 public IList<SkipFilterAttribute> SkipFilters
57 get { return skipFilters; }
60 /// <summary>
61 /// Gets or sets the transform filters associated with this action.
62 /// </summary>
63 /// <value>The transform filters.</value>
64 public TransformFilterDescriptor[] TransformFilters
66 get { return transformFilters; }
67 set { transformFilters = value; }