protected virtual void OnHostWalk(HostWalkEventArgs e) { EventHandler <HostWalkEventArgs> handler = HostWalk; if (handler != null) { handler(this, e); } }
protected void RaiseOnHostWalk(InterceptedEventArgs e) { if (HostWalk != null) { var args = new HostWalkEventArgs(e.Continuation, e.Step, e.Packet); OnHostWalk(args); e.Cancel = args.Cancel; e.WasContinued = args.WasContinued; } }
protected virtual void OnHostWalk(HostWalkEventArgs e) { EventHandler<HostWalkEventArgs> handler = HostWalk; if (handler != null) handler(this, e); }