public ITentFeedRequest AddPostBoundary(ITentRequestPost boundaryPost, TentFeedRequestBoundaryType boundaryType) { Ensure.Argument.IsNotNull(boundaryPost, nameof(boundaryPost)); (this.temporaryBoundaryPosts ?? (this.temporaryBoundaryPosts = new Dictionary<TentFeedRequestBoundaryType, ITentRequestPost>()))[boundaryType] = boundaryPost; return this; }
public ITentFeedRequest AddBoundary(ITentRequestDate boundaryDate, TentFeedRequestBoundaryType boundaryType) { Ensure.Argument.IsNotNull(boundaryDate, nameof(boundaryDate)); (this.boundaries ?? (this.boundaries = new Dictionary<TentFeedRequestBoundaryType, ITentRequestDate>()))[boundaryType] = boundaryDate; return this; }
public ITentFeedRequest AddPostBoundary(TentPost boundaryPost, TentFeedRequestBoundaryType boundaryType) { Ensure.Argument.IsNotNull(boundaryPost, nameof(boundaryPost)); var requestPost = this.requestPostFactory.FromPost(boundaryPost); return this.AddPostBoundary(requestPost, boundaryType); }