public ExampleBusiness(IUnitOfWork uow, INotificationHandler notifications, IExampleRepository exampleRepository) : base(uow, notifications) { _exampleRepository = exampleRepository; _notifications = notifications; }
public AddHandler(IContextExample context, IExampleRepository repository, IServiceExample service, RequestInjectionTestDbContext dbContext) { this.context = context; this.repository = repository; this.service = service; this.dbContext = dbContext; }
public Scraper(IWordRespository _wordRepo, IDetailRepository _detailRepo, IExampleRepository _exampleRepo, ISynonymRepository _synonymRepo, ISubsenseRepository _subsenseRepo) { wordRepo = _wordRepo; detailRepo = _detailRepo; exampleRepo = _exampleRepo; synonymRepo = _synonymRepo; subsenseRepo = _subsenseRepo; }
public UpdateExampleNameCommandHandler( ILogger logger, IExampleRepository exampleRepository, IValidator <UpdateExampleNameCommand> validator) { _logger = logger; _exampleRepository = exampleRepository; _validator = validator; }
public ExampleController(INotificationHandler notifications, IMapper mapper, IUser user, IExampleBusiness exampleBusiness, IExampleRepository exampleRepository) : base(notifications, user) { _mapper = mapper; _exampleBusiness = exampleBusiness; _exampleRepository = exampleRepository; }
public CreateExampleCommandHandler( NotificationContext notificationContext, CommonMessages commonMessages, IMapper mapper, IApplicationUnitOfWork uow, IExampleRepository exampleRepository) : base(notificationContext, commonMessages, uow) { _mapper = mapper; _exampleRepository = exampleRepository; }
public ExtraInjectablesController(IContextExample context, IExampleRepository repository, IServiceExample service, IExtraInjectable1 extraInjecatable1, IExtraInjectable2 extraInjectable2, IExtraInjectable3 extraInjectable3, IExtraInjectable4 extraInjectable4, RequestInjectionTestDbContext dbContext) { this.context = context; this.repository = repository; this.service = service; this.extraInjecatable1 = extraInjecatable1; this.extraInjectable2 = extraInjectable2; this.extraInjectable3 = extraInjectable3; this.extraInjectable4 = extraInjectable4; this.dbContext = dbContext; }
/// <summary> /// Sets the Datasource to be Mock or SQL /// </summary> /// <param name="dataSourceEnum">The mock status.</param> public static void SetDataSource(DataSourceEnum dataSourceEnum) { switch (dataSourceEnum) { /* * These will all use a Table store as the backend. * Local is used when running azure local service * Live and Test point to azure instances */ case DataSourceEnum.Local: case DataSourceEnum.ServerLive: case DataSourceEnum.ServerTest: DataSourceBackendTable.Instance.SetDataSourceServerMode(dataSourceEnum); repository = ExampleRepositoryStore.Instance; break; case DataSourceEnum.SQL: // Same as Mock because no sql backend for this version. case DataSourceEnum.Mock: default: // Default is to use the Mock repository = ExampleRepositoryMock.Instance; break; } }
public ExampleService(IExampleRepository repository, ILogger <ExampleService> logger, IMapper mapper) { _repository = repository; _logger = logger; _mapper = mapper; }
public ExampleController(IExampleRepository exampleRepository, IExampleQueries exampleQueries) { _exampleRepository = exampleRepository; _exampleQueries = exampleQueries; }
public MyModelController(IExampleRepository exampleRepository) { _exampleRepository = exampleRepository; }
public RouteAttributeExampleController(IExampleRepository exampleRepository) : base(exampleRepository) { }
public ExampleController(IExampleRepository exampleRepository) : base(exampleRepository) { }
public ExampleQueryHandler(IExampleRepository characterRepository) { _exampleRepository = characterRepository; }
public DetailsModel(IExampleRepository repository) { _repository = repository; }
public EditModel(IExampleRepository repository) { this._repository = repository; }
public ExampleController(IExampleRepository exampleRepository) { _exampleRepository = exampleRepository; }
public ExampleService(IExampleRepository <ExampleModel> repository) { _repository = repository; }
public ExampleService(IExampleRepository exampleRepository) { _exampleRepository = exampleRepository; }
public ExampleController(ExampleDbContext context, IExampleRepository repository) { _context = context; _repository = repository; }
public TokenController(IExampleRepository exampleRepository) : base(exampleRepository) { _exampleRepository = exampleRepository; }
public ExampleService(IExampleRepository exampleService) { _exampleService = exampleService; }
public ExampleService(IExampleRepository exampleRepository) { this.exampleRepository = exampleRepository; }
public UnitOfWork(AppContext context) { this.context = context; Examples = new ExampleRepository(context); }
public AppDbContextSeed(AppDbContext context, IExampleRepository exampleRepository) { _context = context; _exampleRepository = exampleRepository; }
public ExampleBusiness(IExampleRepository exampleRepository) { _exampleRepository = exampleRepository; }
public ExampleServices(IExampleRepository exampleTransactionsRepository, RequestContext requestContext) { _exampleRepository = exampleTransactionsRepository; _requestContext = requestContext; }
public ExampleController(IExampleRepository exampleRepository, IMapper <ExampleEntity, ExampleDto> exampleMapper) { _exampleRepository = exampleRepository; _exampleMapper = exampleMapper; }
public ExamplesController(IExampleRepository exampleRepository, ILogger <ExamplesController> logger) { this.exampleRepository = exampleRepository; this.logger = logger; }
public DeleteModel(IExampleRepository repository) { this._repository = repository; }
public CreateModel(IExampleRepository repository) { this._repository = repository; }
public MyModelController(IExampleRepository exampleRepository) { _exampleRepository = exampleRepository; }