Ejemplo n.º 1
0
 public EventProperty(DeclSpace parent, FullNamedExpression type, Modifiers mod_flags,
     MemberName name,
     Attributes attrs, Accessor add, Accessor remove)
     : base(parent, type, mod_flags, name, attrs)
 {
     Add = new AddDelegateMethod (this, add);
     Remove = new RemoveDelegateMethod (this, remove);
 }
Ejemplo n.º 2
0
		public EventField (TypeDefinition parent, FullNamedExpression type, Modifiers mod_flags, MemberName name, Attributes attrs)
			: base (parent, type, mod_flags, name, attrs)
		{
			Add = new AddDelegateMethod (this);
			Remove = new RemoveDelegateMethod (this);
		}
Ejemplo n.º 3
0
		public EventField (DeclSpace parent, FullNamedExpression type, int mod_flags, MemberName name, Attributes attrs)
			: base (parent, type, mod_flags, name, attrs)
		{
			Add = new AddDelegateMethod (this);
			Remove = new RemoveDelegateMethod (this);
		}