/// <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) }; }
public TransactionErrors(string key, TransactionErrorType type) { _list = new List <KeyValuePair <string, TransactionErrorType> > { new KeyValuePair <string, TransactionErrorType>(key, type) }; }
public TransactionDisbursementsCreationError( int transactionId, TransactionErrorType errorType, string errorMessage) { TransactionId = transactionId; ErrorType = errorType; ErrorMessage = errorMessage; }