Example #1
0
        public override void Visit(ChangeFeedStartFromNow startFromNow)
        {
            this.requestMessage.Headers.IfNoneMatch = ChangeFeedStartFromRequestOptionPopulator.IfNoneMatchAllHeaderValue;

            if (startFromNow.FeedRange != null)
            {
                startFromNow.FeedRange.Accept(FeedRangeRequestMessagePopulatorVisitor.Singleton, this.requestMessage);
            }
        }
Example #2
0
 public override TryCatch <ChangeFeedCrossFeedRangeState> Visit(ChangeFeedStartFromNow startFromNow)
 {
     return(TryCatch <ChangeFeedCrossFeedRangeState> .FromResult(
                ChangeFeedCrossFeedRangeState.CreateFromNow(startFromNow.FeedRange)));
 }
Example #3
0
 public abstract Task <TResult> VisitAsync(
     ChangeFeedStartFromNow startFromNow,
     TInput input,
     CancellationToken cancellationToken);
Example #4
0
 public override void Visit(ChangeFeedStartFromNow startFromNow)
 {
     this.requestMessage.Headers.IfNoneMatch = ChangeFeedStartFromRequestOptionPopulator.IfNoneMatchAllHeaderValue;
 }
 public override FeedRange Visit(ChangeFeedStartFromNow startFromNow) => startFromNow.FeedRange;
 public override FeedRange Visit(ChangeFeedStartFromNow startFromNow)
 {
     return(startFromNow.FeedRange);
 }