示例#1
0
        protected virtual void OnDispose(DisposedEventArgs e)
        {
            var handler = Disposed;

            if (handler != null)
            {
                handler(this, e);
            }
        }
 void OnDispose(DisposedEventArgs e)
 {
     var handler = Disposed;
     if (handler != null) {
         handler (this, e);
     }
 }
 protected virtual void OnDisposed(DisposedEventArgs e)
 {
     var handler = Disposed;
     if (handler != null) {
         handler (this, e);
     }
 }