Exemple #1
0
        public static void Start(this IBlobListenerStrategy strategy, CloudBlobContainer container,
                                 ITriggerExecutor <ICloudBlob> triggerExecutor)
        {
            if (strategy == null)
            {
                throw new ArgumentNullException("strategy");
            }

            strategy.Start();
        }
Exemple #2
0
        public Task EnsureAllStartedAsync(CancellationToken cancellationToken)
        {
            if (!_started)
            {
                _timer.Start();
                _strategy.Start();
                _started = true;
            }

            return(Task.FromResult(0));
        }