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