예제 #1
0
        public void StartStreamMatchingAnyCondition()
        {
            Action startStreamAction = () => _synchronousInvoker.ExecuteSynchronously(StartStreamMatchingAnyConditionAsync());

            _singleAggregateExceptionThrower.ExecuteActionAndThrowJustOneExceptionIfExist(startStreamAction);
        }
예제 #2
0
        public void StartStream(string url)
        {
            Action startStreamAction = () => _synchronousInvoker.ExecuteSynchronously(StartStreamAsync(url));

            _singleAggregateExceptionThrower.ExecuteActionAndThrowJustOneExceptionIfExist(startStreamAction);
        }
        public void StartStream()
        {
            Action startStreamAction = () => _synchronousInvoker.ExecuteSynchronously(() => StartStream(Resources.Stream_Sample));

            _singleAggregateExceptionThrower.ExecuteActionAndThrowJustOneExceptionIfExist(startStreamAction);
        }