Example #1
0
        protected virtual void OnHostUpdateStance(HostUpdateStanceEventArgs e)
        {
            EventHandler <HostUpdateStanceEventArgs> handler = HostUpdateStance;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Example #2
0
        protected void RaiseOnHostUpdateStance(InterceptedEventArgs e)
        {
            if (HostUpdateStance != null)
            {
                var args = new HostUpdateStanceEventArgs(e.Continuation, e.Step, e.Packet);
                OnHostUpdateStance(args);

                e.Cancel       = args.Cancel;
                e.WasContinued = args.WasContinued;
            }
        }
Example #3
0
 protected virtual void OnHostUpdateStance(HostUpdateStanceEventArgs e)
 {
     EventHandler<HostUpdateStanceEventArgs> handler = HostUpdateStance;
     if (handler != null) handler(this, e);
 }
Example #4
0
        protected void RaiseOnHostUpdateStance(InterceptedEventArgs e)
        {
            if (HostUpdateStance != null)
            {
                var args = new HostUpdateStanceEventArgs(e.Continuation, e.Step, e.Packet);
                OnHostUpdateStance(args);

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