Пример #1
0
 /// <summary>
 /// Gets a new <see cref="FeedPosition"/> with <paramref name="feedItem"/>.
 /// </summary>
 /// <param name="feedItem">The <see cref="FeedItem"/> indicating the current position</param>
 /// <returns><see cref="FeedPosition"/></returns>
 public FeedPosition With(FeedItem feedItem) =>
 new FeedPosition(ExchangeName, SubscriberId, feedItem);
Пример #2
0
 /// <summary>
 /// Gets a new <see cref="FeedPosition"/>
 /// </summary>
 /// <param name="exchangeName">The name of the exchange</param>
 /// <param name="subscriberId">The identity of the subscriber</param>
 /// <param name="feedItem">The <see cref="FeedItem"/> indicating the current position</param>
 /// <returns><see cref="FeedPosition"/></returns>
 public FeedPosition Is(string exchangeName, string subscriberId, FeedItem feedItem) =>
 new FeedPosition(exchangeName, subscriberId, feedItem);