public static void Start(this IBlobListenerStrategy strategy, CloudBlobContainer container, ITriggerExecutor <ICloudBlob> triggerExecutor) { if (strategy == null) { throw new ArgumentNullException("strategy"); } strategy.Start(); }
public Task EnsureAllStartedAsync(CancellationToken cancellationToken) { if (!_started) { _timer.Start(); _strategy.Start(); _started = true; } return(Task.FromResult(0)); }