Beispiel #1
0
 public void Inject()
 {
     this.config           = DI.Get <Configuration>();
     this.loginServer      = DI.Get <LoginServerListener>();
     this.loginService     = DI.Get <LoginService>();
     this.characterService = DI.Get <CharacterService>();
     this.db = DI.Get <Database>();
 }
Beispiel #2
0
 public void Inject()
 {
     this.config           = DI.Get <Configuration>();
     this.db               = DI.Get <Database>();
     this.mailService      = DI.Get <MailService>();
     this.random           = new Random();
     this.socialServer     = DI.Get <LoginServerListener>();
     this.characterService = DI.Get <CharacterService>();
 }
Beispiel #3
0
 public void Inject()
 {
     this.config               = DI.Get <Configuration>();
     this.nameValidator        = DI.Get <NameValidator>();
     this.db                   = DI.Get <Database>();
     this.loginServer          = DI.Get <LoginServerListener>();
     this.actionsAuthenticator = DI.Get <ChatActionsAuthenticator>();
     this.giftService          = DI.Get <GiftsService>();
 }
 public void Inject()
 {
     this.manager     = DI.Get <ChatManager>();
     this.config      = DI.Get <Configuration>();
     this.loginServer = DI.Get <LoginServerListener>();
 }