Esempio n. 1
0
 public AsyncCombinedGuard(IAsyncGuard <T> guard, IAsyncGuard <T> target, GuardCombinationModes combinationType) : base(combinationType)
 {
     this.guard  = guard;
     this.target = target;
 }
 public static IAsyncCombinedGuard <T> Combine <T>(this IAsyncGuard <T> guard, IAsyncGuard <T> target, GuardCombinationModes type)
 => new AsyncCombinedGuard <T>(guard, target, type);
 public AsyncCombinedGuardBase(GuardCombinationModes combinationType) : base(combinationType)
 {
 }
 public static ICombinedGuard <T> Combine <T>(this IGuard <T> guard, IGuard <T> target, GuardCombinationModes type)
 => new CombinedGuard <T>(guard, target, type);
 public CombinedGuardBase(GuardCombinationModes combinationType)
 {
     Mode = combinationType;
 }