protected override void OnStarted() { IocContainer.Resolve <IOnlineUserService>().RemoveAny(null); base.OnStarted(); Log.Info("服务端已启动"); }
public TcpSession() { _loginHandler = IocContainer.Resolve <LoginHandler>(new TypedParameter(typeof(TcpSession), this)); }