/// <summary>
 /// Returns the position for the end of a stream. Provide this position in receiver creation
 /// to start receiving from the next available event in the partition after the receiver is created.
 /// </summary>
 public static EventPosition FromEnd()
 {
     return(EventPosition.FromOffset(EndOfStream));
 }
 /// <summary>
 /// Returns the position for the start of a stream. Provide this position in receiver creation
 /// to starting receiving from the first available event in the partition.
 /// </summary>
 public static EventPosition FromStart()
 {
     return(EventPosition.FromOffset(StartOfStream));
 }