Fixing an issue with output parameters that are of type IntPtr
[castle.git] / Experiments / AnakiaNet / Anakia / DocData / EventDocData.cs
blobb4bcab4361396b762b87024316225d0836595dad
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 Anakia.DocData
17 using System;
19 public class EventDocData : CommonDocData
21 private readonly string name;
22 private readonly string delegateName;
23 private readonly string id;
24 private readonly string returnType;
25 private Visibility access;
26 private ParameterDocData[] parameters;
28 public EventDocData(string name, string delegateName, string id, Visibility access, String returnType, ParameterDocData[] parameters)
30 this.name = name;
31 this.delegateName = delegateName;
32 this.id = id;
33 this.access = access;
34 this.returnType = returnType;
35 this.parameters = parameters;
38 public string Name
40 get { return name; }
43 public string ReturnType
45 get { return returnType; }
48 public string Id
50 get { return id; }
53 public string DelegateName
55 get { return delegateName; }
58 public Visibility Access
60 get { return access; }
63 public ParameterDocData[] Parameters
65 get { return parameters; }