public User(IAgent agent) { _Agent = agent; _ConnectProvider = new TProvider <IConnect>(); _OnlineProvider = new TProvider <IOnline>(); _Machine = new StageMachine(); _Updater = new Updater(); }
public OfflineStage(IAgent agent, TProvider <IConnect> _ConnectProvider) { _Agent = agent; this._ConnectProvider = _ConnectProvider; _Connect = new Connect(); }
public OnlineStage(IAgent agent, TProvider <IOnline> provider) { _Agent = agent; _OnlineProvider = provider; _Online = new Online(agent); }