public ISession SetSessionBehavior(ISessionBehavior bhvr) { behavior = bhvr ?? throw new ArgumentNullException(nameof(bhvr)); return(this); }
public ISocketSession SetSessionBehavior(ISessionBehavior behavior) { this.behavior = behavior ?? throw new ArgumentNullException(nameof(behavior)); return(this); }