예제 #1
0
 /// <summary>
 /// Initializes a new instance of the
 /// <see cref="SpaceInteractionService"/> class.
 /// </summary>
 /// <param name="logger">An injected logger instance.</param>
 /// <param name="indexerDatabaseContext">
 /// An injected federation database instance.
 /// </param>
 /// <param name="coreDatabaseContext">
 /// An injected core database instance.
 /// </param>
 /// <param name="authorizationService">
 /// An injected authorization service.
 /// </param>
 public SpaceInteractionService(
     ILogger <SpaceInteractionService> logger,
     IIndexerDatabaseContext indexerDatabaseContext,
     ICoreDatabaseContext coreDatabaseContext,
     IAuthorizationService authorizationService)
 {
     this._logger = logger;
     this._indexerDatabaseContext = indexerDatabaseContext;
     this._coreDatabaseContext    = coreDatabaseContext;
     this._authorizationService   = authorizationService;
 }
예제 #2
0
 public CoreUnitOfWork(ICoreDatabaseContext databaseContext)
 {
     DatabaseContext = databaseContext;
 }
예제 #3
0
 public CoreRepository(ICoreDatabaseContext databaseContext)
 {
     DatabaseContext = databaseContext;
 }
예제 #4
0
 public CoreRepositoryGeneric(ICoreDatabaseContext databaseContext)
     : base(databaseContext)
 {
 }
예제 #5
0
 public ProductsRepository(ICoreDatabaseContext databaseContext, ILogger <ProductsRepository> logger)
     : base(databaseContext, logger)
 {
 }