예제 #1
0
 /// <summary>
 /// Shifts the lifetime by the specified amount of time
 /// </summary>
 /// <param name="source">Source stream</param>
 /// <param name="shiftAmount">The amount to shift the Vs by</param>
 public static IStreamable <TKey, TPayload> ShiftEventLifetime <TKey, TPayload>(
     this IStreamable <TKey, TPayload> source,
     long shiftAmount)
 {
     Invariant.IsNotNull(source, nameof(source));
     return(source.ShiftEventLifetime(s => shiftAmount));
 }