public EmailManager( IConfigurationSupplier configurationSupplier, DataProtector dataProtector) { m_ConfigurationSupplier = configurationSupplier; m_DataProtector = dataProtector; }
public Executioner( IHttpService httpService, ILocalStore localStore, IConfigurationSupplier configurationSupplier, EmailManager emailManager ) { m_HttpService = httpService; m_LocalStore = localStore; m_ConfigurationSupplier = configurationSupplier; m_EmailManager = emailManager; }
public HttpService(IConfigurationSupplier configurationSupplier) { m_ConfigurationSupplier = configurationSupplier; m_HttpClient = new HttpClient() { Timeout = m_TimeOut, BaseAddress = new Uri(BaseUrl) }; m_HttpClient.DefaultRequestHeaders .Accept .Add(new MediaTypeWithQualityHeaderValue("application/json")); }