Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TransactionErrors" /> class.
 /// </summary>
 /// <param name="key">The key.</param>
 /// <param name="type">The type.</param>
 public TransactionErrors(string key, TransactionErrorType type)
 {
     this.list = new List<KeyValuePair<string, TransactionErrorType>>
                      {
                          new KeyValuePair<string, TransactionErrorType>(key, type)
                      };
 }
Пример #2
0
 public TransactionErrors(string key, TransactionErrorType type)
 {
     _list = new List <KeyValuePair <string, TransactionErrorType> >
     {
         new KeyValuePair <string, TransactionErrorType>(key, type)
     };
 }
Пример #3
0
 public TransactionDisbursementsCreationError(
     int transactionId,
     TransactionErrorType errorType,
     string errorMessage)
 {
     TransactionId = transactionId;
     ErrorType     = errorType;
     ErrorMessage  = errorMessage;
 }