Created
October 11, 2017 13:34
-
-
Save M-Yankov/b52f353f7a589469562225a33ca59a12 to your computer and use it in GitHub Desktop.
Event property has add/remove instead of get/set
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public event EventHandler AuthenticateRequest | |
{ | |
add | |
{ | |
this.AddSyncEventHookup(HttpApplication.EventAuthenticateRequest, value, RequestNotification.AuthenticateRequest); | |
} | |
remove | |
{ | |
this.RemoveSyncEventHookup(HttpApplication.EventAuthenticateRequest, value, RequestNotification.AuthenticateRequest); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment