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