Пример #1
0
 public static IEnumerable <Money> Allocate(this Money @this, RatioArray ratios, IMoneyAllocator allocator)
 {
     Require.NotNull(allocator, nameof(allocator));
     return(allocator.Allocate(@this, ratios));
 }
Пример #2
0
 public static IEnumerable <Money> Allocate(this Money @this, int count, IMoneyAllocator allocator)
 {
     Require.NotNull(allocator, nameof(allocator));
     return(allocator.Allocate(@this, count));
 }