public ValuesController(ISomethingService somethingService, IEventTypeStrategyFinder eventTypeStrategyFinder, IComponentContext componentContext, IAsyncEventPublisher eventPublisher)
 {
     _somethingService        = somethingService;
     _eventTypeStrategyFinder = eventTypeStrategyFinder;
     _componentContext        = componentContext;
     _eventPublisher          = eventPublisher;
 }
Example #2
0
        private readonly TimeSpan m_reconnectionDelay = TimeSpan.FromSeconds(5); // TODO: parameter

        public SomethingServiceAdapter(ISomethingService service, ISomething <string> observer)
        {
            m_observer = observer;
            m_service  = service;
        }
Example #3
0
 public SomeAPI(ISomethingService service)
 {
     Service = service;
 }
Example #4
0
 public SampleController(ISomethingRepository somethingRepository, ISomethingService somethingService)
 {
     _somethingRepository = somethingRepository;
     _somethingService = somethingService;
 }
Example #5
0
 public HomeController(ISomethingService service, ILogger logger, IOptions <Parent> parent)
 {
     this.service = service;
     this.logger  = logger;
     this.parent  = parent.Value;
 }
Example #6
0
 public SampleController(ISomethingRepository somethingRepository, ISomethingService somethingService)
 {
     _somethingRepository = somethingRepository;
     _somethingService    = somethingService;
 }