Fixing an issue with output parameters that are of type IntPtr
[castle.git] / MonoRail / Castle.MonoRail.Framework / Descriptors / ActionMetaDescriptor.cs
blob6a379dd4fe55d0e7cfad84f1ef674437db40f9d1
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];
30 private ReturnBinderDescriptor returnDescriptor;
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<SkipFilterAttribute> SkipFilters
58 get { return skipFilters; }
61 /// <summary>
62 /// Gets or sets the transform filters associated with this action.
63 /// </summary>
64 /// <value>The transform filters.</value>
65 public TransformFilterDescriptor[] TransformFilters
67 get { return transformFilters; }
68 set { transformFilters = value; }
71 /// <summary>
72 /// Gets or sets the return descriptor.
73 /// </summary>
74 /// <value>The return descriptor.</value>
75 public ReturnBinderDescriptor ReturnDescriptor
77 get { return returnDescriptor; }
78 set { returnDescriptor = value; }