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 InitCounterWorker(AppSettings appSettings, ILogger <InitCounterWorker> logger, ISingletonDependency singletonDependency, IScopedDependency scopedDependency, ITransientDependency transientDependency) { _appSettings = appSettings; _logger = logger; _singletonDependency = singletonDependency; _scopedDependency = scopedDependency; _transientDependency = transientDependency; }
public SecondConsumer(IScopedDependency depedency) { _depedency = depedency; }
public FirstConsumer(IScopedDependency depedency) { _depedency = depedency; }
public BrokeredMessageProcessor(ISingletonDependency singletonDependency, IScopedDependency scopedDependency) { _singletonDependency = singletonDependency; _scopedDependency = scopedDependency; }
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}]"); }