Example #1
0
        protected virtual void OnHostSay(HostSayEventArgs e)
        {
            EventHandler <HostSayEventArgs> handler = HostSay;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Example #2
0
        protected void RaiseOnHostSay(InterceptedEventArgs e)
        {
            if (HostSay != null)
            {
                var args = new HostSayEventArgs(e.Continuation, e.Step, e.Packet);
                OnHostSay(args);

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

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