System.ComponentModel.DebugReflectEventDescriptor.DebugReflectEventDescriptor C# (CSharp) Method

DebugReflectEventDescriptor() public method

public DebugReflectEventDescriptor ( Type componentClass, EventInfo eventInfo ) : System.Diagnostics
componentClass System.Type
eventInfo System.Reflection.EventInfo
return System.Diagnostics
        public DebugReflectEventDescriptor(Type componentClass, EventInfo eventInfo)
        : base(eventInfo.Name, new Attribute[0]) {

            if (componentClass == null) {
                throw new ArgumentException(SR.GetString(SR.InvalidNullArgument, "componentClass"));
            }
            this.componentClass = componentClass;
            this.realEvent = eventInfo;
        }

Same methods

DebugReflectEventDescriptor::DebugReflectEventDescriptor ( Type componentType, System.ComponentModel.EventDescriptor oldReflectEventDescriptor, Attribute attributes ) : System.Diagnostics
DebugReflectEventDescriptor::DebugReflectEventDescriptor ( Type componentClass, string name, Type type, Attribute attributes ) : System.Diagnostics