Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace Common.Utilities
- {
- /// <summary>
- /// Event argument with a typed item property
- /// </summary>
- public class EventArgs<T> : EventArgs
- {
- public T Item { get; private set; }
- public bool Cancel { get; set; }
- public EventArgs(T item)
- {
- this.Item = item;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement