public EventGen CustomEvent(Type handlerType, string name) { EventGen eg = new EventGen(this, name, handlerType, mthVis | mthVirt | mthFlags); events.Add(eg); ResetAttrs(); return(eg); }
public EventGen EventImplementation(Type interfaceType, Type eventHandlerType, string name) { if (TypeBuilder.IsInterface) { throw new InvalidOperationException(Properties.Messages.ErrInterfaceNoExplicitImpl); } EventGen eg = new EventGen(this, name, eventHandlerType, MethodAttributes.Private | MethodAttributes.NewSlot | MethodAttributes.Virtual | MethodAttributes.Final); eg.ImplementedInterface = interfaceType; return(eg); }
public EventInfoProxy(EventGen eg) { _eg = eg; }
public EventInfoProxy(EventGen eg) { this.eg = eg; }
public EventInfoProxy(EventGen eg) { _eg = eg; }
public EventInfoProxy(EventGen eg) { this.eg = eg; }