Пример #1
0
        protected virtual void OnHostUpdateMotto(HostUpdateMottoEventArgs e)
        {
            EventHandler <HostUpdateMottoEventArgs> handler = HostUpdateMotto;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Пример #2
0
        protected void RaiseOnHostUpdateMotto(InterceptedEventArgs e)
        {
            if (HostUpdateMotto != null)
            {
                var args = new HostUpdateMottoEventArgs(e.Continuation, e.Step, e.Packet);
                OnHostUpdateMotto(args);

                e.Cancel       = args.Cancel;
                e.WasContinued = args.WasContinued;
            }
        }
Пример #3
0
 protected virtual void OnHostUpdateMotto(HostUpdateMottoEventArgs e)
 {
     EventHandler<HostUpdateMottoEventArgs> handler = HostUpdateMotto;
     if (handler != null) handler(this, e);
 }
Пример #4
0
        protected void RaiseOnHostUpdateMotto(InterceptedEventArgs e)
        {
            if (HostUpdateMotto != null)
            {
                var args = new HostUpdateMottoEventArgs(e.Continuation, e.Step, e.Packet);
                OnHostUpdateMotto(args);

                e.Cancel = args.Cancel;
                e.WasContinued = args.WasContinued;
            }
        }