public FlowDistributionException(IEnumerable <IFlowEndPoint> sources, IFlowEndPoint recipient, decimal amount) : base($"Невозможно пополнить \"{recipient.Name}\" на указанную сумму ({amount.ToMoney()})") { Sources = sources.ToList(); Recipient = recipient; Amount = amount; }
public DistributionFlow(IFlowEndPoint source, IFlowEndPoint recipient, decimal amount) { Source = source; Recipient = recipient; Amount = amount; }