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

DebugReflectEventDescriptor() public method

public DebugReflectEventDescriptor ( Type componentType, System.ComponentModel.EventDescriptor oldReflectEventDescriptor, Attribute attributes ) : System.Diagnostics
componentType System.Type
oldReflectEventDescriptor System.ComponentModel.EventDescriptor
attributes System.Attribute
return System.Diagnostics
        public DebugReflectEventDescriptor(Type componentType, EventDescriptor oldReflectEventDescriptor, Attribute[] attributes)
        : base(oldReflectEventDescriptor, attributes) {
            this.componentClass = componentType;
            this.type = oldReflectEventDescriptor.EventType;
            
            if (oldReflectEventDescriptor is DebugReflectEventDescriptor) {
                this.addMethod = ((DebugReflectEventDescriptor)oldReflectEventDescriptor).addMethod;
                this.removeMethod = ((DebugReflectEventDescriptor)oldReflectEventDescriptor).removeMethod;
                this.filledMethods = true;
            }
        }

Same methods

DebugReflectEventDescriptor::DebugReflectEventDescriptor ( Type componentClass, EventInfo eventInfo ) : System.Diagnostics
DebugReflectEventDescriptor::DebugReflectEventDescriptor ( Type componentClass, string name, Type type, Attribute attributes ) : System.Diagnostics