public override void Dispose() { if (this.IsDisposed) { return; } base.Dispose(); this.Session?.Dispose(); this.Session = null; Instance = null; }
public void Awake() { Instance = this; }
//Call后台管理协议 public static ETTask <IResponse> AdministratorCall(this SessionComponent sessionComponent, IAdministratorRequest administratorRequest) { administratorRequest.Account = Account; administratorRequest.Password = Password; return(sessionComponent.Call(administratorRequest)); }