- Implemented support for view component caching. Just use the attribute
[castle.git] / MonoRail / Castle.MonoRail.Framework / Internal / Descriptors / ActionMetaDescriptor.cs
blob4f0bc298ee4dd963f1a62ad052f19f6a538815f7
1 // Copyright 2004-2007 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.Internal
17 using System;
18 using System.Collections;
20 /// <summary>
21 /// Holds the meta information for a specific action
22 /// </summary>
23 [Serializable]
24 public class ActionMetaDescriptor : BaseMetaDescriptor
26 private SkipRescueAttribute skipRescue;
27 private AccessibleThroughAttribute accessibleThrough;
28 private IList skipFilters = new ArrayList();
29 private IList cacheConfigurers = new ArrayList();
30 private TransformFilterDescriptor[] transformFilters = new TransformFilterDescriptor[] {};
32 /// <summary>
33 /// Gets or sets the skip rescue associated with this action.
34 /// </summary>
35 /// <value>The skip rescue.</value>
36 public SkipRescueAttribute SkipRescue
38 get { return skipRescue; }
39 set { skipRescue = value; }
42 /// <summary>
43 /// Gets or sets the accessible through definition associated with this action.
44 /// </summary>
45 /// <value>The accessible through.</value>
46 public AccessibleThroughAttribute AccessibleThrough
48 get { return accessibleThrough; }
49 set { accessibleThrough = value; }
52 /// <summary>
53 /// Gets the skip filters associated with this action.
54 /// </summary>
55 /// <value>The skip filters.</value>
56 public IList SkipFilters
58 get { return skipFilters; }
61 /// <summary>
62 /// Gets the cache configurers associated with this action.
63 /// </summary>
64 /// <value>The cache configurers.</value>
65 public IList CacheConfigurers
67 get { return cacheConfigurers; }
70 /// <summary>
71 /// Gets or sets the transform filters associated with this action.
72 /// </summary>
73 /// <value>The transform filters.</value>
74 public TransformFilterDescriptor[] TransformFilters
76 get { return transformFilters; }
77 set { transformFilters = value; }