コード例 #1
0
ファイル: LifetimeExtensions.cs プロジェクト: kgisme170/mynet
 /// <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));
 }