public static IEnumerable <Money> Allocate(this Money @this, RatioArray ratios, IMoneyAllocator allocator) { Require.NotNull(allocator, nameof(allocator)); return(allocator.Allocate(@this, ratios)); }
public static IEnumerable <Money> Allocate(this Money @this, int count, IMoneyAllocator allocator) { Require.NotNull(allocator, nameof(allocator)); return(allocator.Allocate(@this, count)); }