Private Key Class
Provides unique identification for events whose handlers are stored into an internal hashtable.
public ref class EventPrivateKey
public class EventPrivateKey
type EventPrivateKey = class
Public Class EventPrivateKey
This type exists specifically so that compilers, build rules, or other enforcement mechanisms can verify that all event keys of this type are created exclusively by private static fields on the event-declaring class. Failure to make the event key private raises the possibility of event spoofing.
Initializes a new instance of the EventPrivateKey class.
Determines whether the specified object is equal to the current object.(Inherited from Object)
Serves as the default hash function.(Inherited from Object)
Gets the Type of the current instance.(Inherited from Object)
Creates a shallow copy of the current Object.(Inherited from Object)
Returns a string that represents the current object.(Inherited from Object)