コード例 #1
0
 public MongoDBArticleService(IMongoClient client, ArticleFactory articleFactory, IMapper mapper, IServiceScopeFactory serviceScopeFactory)
 {
     _client              = client;
     _articleFactory      = articleFactory;
     _mapper              = mapper;
     _serviceScopeFactory = serviceScopeFactory;
 }
コード例 #2
0
ファイル: ArticleService.cs プロジェクト: Morr0/Atheer
 public ArticleService(IMapper mapper, ArticleFactory articleFactory, Data data, ILogger <ArticleService> logger,
                       IServiceScopeFactory serviceScopeFactory)
 {
     _mapper              = mapper;
     _articleFactory      = articleFactory;
     _context             = data;
     _logger              = logger;
     _serviceScopeFactory = serviceScopeFactory;
 }