Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace System
- {
- /// <summary>
- /// Defines an event handler of the specified <see cref="EventArgs"/>.
- /// </summary>
- /// <typeparam name="TEventArgs">The <see cref="EventArgs"/> type of this event.</typeparam>
- public interface IWeakHandler<TEventArgs>
- where TEventArgs : EventArgs
- {
- /// <summary>
- /// The method to be raised when the event is fired.
- /// </summary>
- /// <param name="sender">The object that raised the event.</param>
- /// <param name="e">The <see cref="EventArgs"/> of the event.</param>
- void OnEventRaised(object sender, TEventArgs e);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment