public TestController( ITransientDependency transientDependency, ISingletonDependency singletonDependency, HttpRequestMessage request) { _transientDependency = transientDependency; _singletonDependency = singletonDependency; _request = request; }
public HeaderService( HttpResponseMessage response, ISingletonDependency singletonDependency, ITransientDependency transientDependency) { _response = response; _singletonDependency = singletonDependency; _transientDependency = transientDependency; }
public MyOtherCoolService( ISingletonDependency singleton, ITransientDependency transient, IScopedDependency scoped) { _singleton = singleton; _transient = transient; _scoped = scoped; }
public IfWorker(ILogger <IfWorker> logger, ISingletonDependency singletonDependency, IScopedDependency scopedDependency, ITransientDependency transientDependency) { _logger = logger; _singletonDependency = singletonDependency; _scopedDependency = scopedDependency; _transientDependency = transientDependency; }
public FakeNancyModule(ITransientDependency transientDepenency, ISingletonDependency singletonDependency, IPerRequestDependency perRequestDependency, IInstanceDependency instanceDependency) { TransientDependency = transientDepenency; SingletonDependency = singletonDependency; PerRequestDependency = perRequestDependency; InstanceDependency = instanceDependency; Get["/"] = _ => { return("Hello world :)"); }; }
public InitCounterWorker(AppSettings appSettings, ILogger <InitCounterWorker> logger, ISingletonDependency singletonDependency, IScopedDependency scopedDependency, ITransientDependency transientDependency) { _appSettings = appSettings; _logger = logger; _singletonDependency = singletonDependency; _scopedDependency = scopedDependency; _transientDependency = transientDependency; }
public DependencyUser(ISingletonDependency dependency) { _dependency = dependency; }
public DummyService( HttpActionExecutedContext context, ISingletonDependency singletonDependency, ITransientDependency transientDependency) { }
public BrokeredMessageProcessor(ISingletonDependency singletonDependency, IScopedDependency scopedDependency) { _singletonDependency = singletonDependency; _scopedDependency = scopedDependency; }
public WarmupTestServiceGrain(ISingletonDependency singletonDependency) { _initTime = DateTime.Now; _singletonDependency = singletonDependency; }
public static void LogInformation(this ILogger <BaseWorker> logger, BaseWorker self, IAppContext ctx, ISingletonDependency sng, IScopedDependency scp, ITransientDependency trn) { logger.LogInformation($"{self} - executing ...{Environment.NewLine} context: {ctx} | dependencies: [{sng}, {scp}, {trn}]"); }