public ContractLimitsInfo Clone(ContractInfo contract)
 {
     var Result = new ContractLimitsInfo(contract);
       foreach (LimitInfo l in this)
     Result.Add(l.Clone(Result));
       return Result;
 }
 internal static ContractInfo Substract(CardInfo Card, ContractInfo A, ContractInfo B)
 {
     var Result = A.Clone(Card);
       Result.accounts = ContractAccountsInfo.Substract(Result, A.Accounts, B.Accounts);
       Result.counters = ContractCounterValues.Substract(Result, A.Counters, B.Counters);
       return Result;
 }
 public ContractLimitsInfo(ContractInfo Contract)
     : base(Contract.Transaction, LimitScope.Contract)
 {
     this.Contract = Contract;
 }