public ValuesController(ISomethingService somethingService, IEventTypeStrategyFinder eventTypeStrategyFinder, IComponentContext componentContext, IAsyncEventPublisher eventPublisher) { _somethingService = somethingService; _eventTypeStrategyFinder = eventTypeStrategyFinder; _componentContext = componentContext; _eventPublisher = eventPublisher; }
private readonly TimeSpan m_reconnectionDelay = TimeSpan.FromSeconds(5); // TODO: parameter public SomethingServiceAdapter(ISomethingService service, ISomething <string> observer) { m_observer = observer; m_service = service; }
public SomeAPI(ISomethingService service) { Service = service; }
public SampleController(ISomethingRepository somethingRepository, ISomethingService somethingService) { _somethingRepository = somethingRepository; _somethingService = somethingService; }
public HomeController(ISomethingService service, ILogger logger, IOptions <Parent> parent) { this.service = service; this.logger = logger; this.parent = parent.Value; }