public static IUnlaunchClient Create(IUnlaunchDataStore dataStore, IEventHandler eventHandler, IEventHandler flagInvocationMetricHandler, IEventHandler impressionsEventHandler, CountdownEvent initialDownloadDoneEvent, AtomicBoolean downloadSuccessful) { return(new UnlaunchClient(dataStore, eventHandler, flagInvocationMetricHandler, impressionsEventHandler, initialDownloadDoneEvent, downloadSuccessful)); }
private UnlaunchClient(IUnlaunchDataStore dataStore, IEventHandler eventHandler, IEventHandler flagInvocationMetricHandler, IEventHandler impressionsEventHandler, CountdownEvent initialDownloadDoneEvent, AtomicBoolean downloadSuccessful) { _defaultEventHandler = eventHandler; _flagInvocationMetricHandler = flagInvocationMetricHandler; _impressionsEventHandler = impressionsEventHandler; _dataStore = dataStore; _initialDownloadDoneEvent = initialDownloadDoneEvent; _downloadSuccessful = downloadSuccessful; }