Beispiel #1
0
 private void ConfigureDependencies()
 {
     DataManagementProvider = AppServiceProvider.GetRequiredService <IDataManagementProvider>();
     AuthProvider           = AppServiceProvider.GetRequiredService <IAuthProvider>();
     UserActionProvider     = AppServiceProvider.GetRequiredService <IUserActionProvider>();
     ProductProvider        = AppServiceProvider.GetRequiredService <IProductProvider>();
     AccountProvider        = AppServiceProvider.GetRequiredService <IAccountProvider>();
 }
Beispiel #2
0
 public ProductProvider(IProductService productService, IAuthProvider authProvider, IUserActionProvider userActionProvider)
 {
     ProductService     = productService;
     AuthProvider       = authProvider;
     UserActionProvider = userActionProvider;
 }
 public PlayerController(IPlayerReadModel playerReadModel, IUserActionProvider playerActionProvider)
 {
     _playerReadModel = playerReadModel;
     _playerActionProvider = playerActionProvider;
 }
 public FacebookController(IFacebookClientProvider facebookClientProvider, IUserActionProvider playerActionProvider)
 {
     _facebookClientProvider = facebookClientProvider;
     this._playerActionProvider = playerActionProvider;
 }
 public GameController(ICommandSender bus, IUserActionProvider playerActionProvider, IPlayerReadModel playerReadModel)
 {
     _bus = bus;
     _playerActionProvider = playerActionProvider;
     _playerReadModel = playerReadModel;
 }
Beispiel #6
0
 public AccountProvider(IAccountService accountService, IAuthProvider authProvider, IUserActionProvider userActionProvider)
 {
     AccountService     = accountService;
     AuthProvider       = authProvider;
     UserActionProvider = userActionProvider;
 }