public BogMarkdownConverterStrategy(IBogMarkdownConverter bogMarkdownConverter,
                                     IGetLatestArticleEntryStrategy getLatestArticleEntryStrategy,
                                     IBlogApiDbContext context,
                                     IUploadArticleEntryCoordinator uploadArticleEntryCoordinator)
 {
     _bogMarkdownConverter          = bogMarkdownConverter;
     _getLatestArticleEntryStrategy = getLatestArticleEntryStrategy;
     _context = context;
     _uploadArticleEntryCoordinator = uploadArticleEntryCoordinator;
 }
Exemplo n.º 2
0
 public UpdateArticleCoordinator(IBlogApiDbContext context, IClock clock)
 {
     _context = context;
     _clock   = clock;
 }
 public RemoveMetaTagForArticleCoordinatorFixture()
 {
     Context = new MockBlogApiDbContextFixture().Build();
 }
Exemplo n.º 4
0
 public RemoveMetaTagForArticleCoordinator(IBlogApiDbContext context)
 {
     _context = context;
 }
Exemplo n.º 5
0
 public FindBlogArticleCoordinator(IBlogApiDbContext context)
 {
     _context = context;
 }
 public GetLatestArticleEntryStrategyFixture()
 {
     Context = new MockBlogApiDbContextFixture().Build();
 }
Exemplo n.º 7
0
 public GetMediaLookupQuery(IBlogApiDbContext dbContext)
 {
     _dbContext = dbContext ?? throw new ArgumentNullException(nameof(dbContext));
 }
 public FindBlogArticleCoordinatorFixture()
 {
     Context = new MockBlogApiDbContextFixture().Build();
 }
 public GetTagsForArticleCoordinator(IBlogApiDbContext context)
 {
     _context = context;
 }
Exemplo n.º 10
0
 public GetLatestArticleEntryStrategy(IBlogApiDbContext context)
 {
     _context = context;
 }
Exemplo n.º 11
0
 public EntryMediaSearchStrategy(IBlogApiDbContext context)
 {
     _context = context;
 }
 public EntryMediaSearchStrategyFixture()
 {
     Context = new MockBlogApiDbContextFixture().Build();
 }
Exemplo n.º 13
0
 public ActiveArticleSearchListingCoordinatorFixture()
 {
     Context = new MockBlogApiDbContextFixture().Build();
 }
Exemplo n.º 14
0
 public CreateEntryMediaCoordinator(IBlogApiDbContext context, IClock clock)
 {
     _context = context;
     _clock   = clock;
 }
Exemplo n.º 15
0
 public CreateArticleEntryCoordinatorFixture()
 {
     Context = new MockBlogApiDbContextFixture().Build();
     Clock   = new MockClock();
 }
Exemplo n.º 16
0
 public ActiveArticleSearchListingCoordinator(IBlogApiDbContext context)
 {
     _context = context;
 }
 public CreateArticleEntryCoordinator(IBlogApiDbContext context, IClock clock)
 {
     _context = context;
     _clock   = clock;
 }
Exemplo n.º 18
0
 public GetMediaLookupQueryFixture()
 {
     Context = new MockBlogApiDbContextFixture()
               .WithQuery(Enumerable.Empty <Article>().AsQueryable())
               .Build();
 }