public override void Visit(ChangeFeedStartFromBeginning startFromBeginning)
        {
            // We don't need to set any headers to start from the beginning

            // Except for the feed range.
            startFromBeginning.FeedRange.Accept(this.feedRangeVisitor);
        }
Esempio n. 2
0
        public override void Visit(ChangeFeedStartFromBeginning startFromBeginning)
        {
            // We don't need to set any headers to start from the beginning

            // Except for the feed range.
            startFromBeginning.FeedRange.Accept(FeedRangeRequestMessagePopulatorVisitor.Singleton, this.requestMessage);
        }
Esempio n. 3
0
 public override TryCatch <ChangeFeedCrossFeedRangeState> Visit(ChangeFeedStartFromBeginning startFromBeginning)
 {
     return(TryCatch <ChangeFeedCrossFeedRangeState> .FromResult(
                ChangeFeedCrossFeedRangeState.CreateFromBeginning(startFromBeginning.FeedRange)));
 }
Esempio n. 4
0
 public abstract Task <TResult> VisitAsync(
     ChangeFeedStartFromBeginning startFromBeginning,
     TInput input,
     CancellationToken cancellationToken);
Esempio n. 5
0
 public override void Visit(ChangeFeedStartFromBeginning startFromBeginning)
 {
     // We don't need to set any headers to start from the beginning
 }
 public override FeedRange Visit(ChangeFeedStartFromBeginning startFromBeginning) => startFromBeginning.FeedRange;
 public override FeedRange Visit(ChangeFeedStartFromBeginning startFromBeginning)
 {
     return(startFromBeginning.FeedRange);
 }