Ejemplo n.º 1
0
        protected virtual void OnHostUpdateMotto(HostUpdateMottoEventArgs e)
        {
            EventHandler <HostUpdateMottoEventArgs> handler = HostUpdateMotto;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Ejemplo n.º 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;
            }
        }
Ejemplo n.º 3
0
 protected virtual void OnHostUpdateMotto(HostUpdateMottoEventArgs e)
 {
     EventHandler<HostUpdateMottoEventArgs> handler = HostUpdateMotto;
     if (handler != null) handler(this, e);
 }
Ejemplo n.º 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;
            }
        }