public DeleteMovieSteps(ScenarioContext injectedContext, ITestServices movieTestService, CreateMovieContext createMovieContext) { _movieTestService = movieTestService; _createMovieContext = createMovieContext; _scenarioContext = injectedContext; }
public TestController(ITestServices testServices, IMapper mapper, IHttpContextAccessor accessor, IMemoryCache memoryCache, IDistributedCache cache) { _testServices = testServices; _mapper = mapper; _accessor = accessor; _memoryCache = memoryCache; _cache = cache; }
public TestController(ITestServices testServices, IMapper mapper, IHttpContextAccessor accessor, IMemoryCache memoryCache, IDistributedCache cache, IRedisBaseRepository redis) { _testServices = testServices; _mapper = mapper; _accessor = accessor; _memoryCache = memoryCache; _cache = cache; _redis = redis; }
public TestController() { testServices = new TestServices(); }
public TestController(ITestServices testServices) { this.testServices = testServices; }
public TestController(ITestServices TestService) { _TestService = TestService; }
//private readonly IDistributedCache distributedCache; //public TestController(ITestServices itestServices, IOptions<AppSettings> options, IDistributedCache distributedCache) //{ // appSettings = options.Value; // testServices = itestServices; // this.distributedCache = distributedCache; //} //private readonly IRedisCache redisCache; // public TestController(ITestServices itestServices, IOptions<AppSettings> options, IRedisCache iredisCache) // { // appSettings = options.Value; // testServices = itestServices; // redisCache = iredisCache; // } public TestController(ITestServices itestServices, IOptions <AppSettings> options) { appSettings = options.Value; testServices = itestServices; }
public BaseController(ITestServices testServices) { Db = new SqlConnection(ConfigurationManager.ConnectionStrings[@"Db"].ConnectionString); this._testServices = testServices; }
//public BaseVM baseVM = new BaseVM(); //private readonly ILogger<ApplicationUserController> _logger; //private readonly IMapper _mapper; #endregion Private Declarations public TestController(ITestServices TestServices) { _TestService = TestServices; //_logger = logger; //_mapper = mapper; }
public TestController(ITestServices service) { this.service = service; }
//private readonly ITimeJobService _timeJobService; public ValuesController(ITestServices iTestServices ) { _iTestServices = iTestServices; //_timeJobService = timeJobService; }
public DeleteMovieSteps(ITestServices movieTestService, CreateMovieContext createMovieContext) { _movieTestService = movieTestService; _createMovieContext = createMovieContext; }
public TestController(ICanineProjDbContext dbCtx, ITestServices testSvcs) { dbContext = dbCtx ?? throw new ArgumentNullException(nameof(dbCtx)); testServices = testSvcs ?? throw new ArgumentNullException(nameof(testSvcs)); }
public TestApiController() { _TestServices = new TestServices(); }
public GetMoviesSteps(ITestServices movieTestService) { _movieTestService = movieTestService; }
public TestController(ITestServices testService) { _testService = testService; }
/// <summary> /// 构造函数注入点 /// </summary> /// <param name="bookScarkService"></param> public DefaultController(ITestServices bookScarkService) { _bookscarkservice = bookScarkService; }
public GetMoviesSteps(ScenarioContext injectedContext, ITestServices movieTestService) { _movieTestService = movieTestService; }
public DataController(IDataServices dataServices, ITestServices testServices) { _dataServices = dataServices; _testServices = testServices; }
public TestController(ITestServices testServices, IMapper mapper) { _testServices = testServices; _mapper = mapper; }
SampleClass(ITestServices testServicesObj) { _testServices = testServicesObj; }