Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ExceptionMessage"/> class.
 /// </summary>
 /// <param name="errorCodeValue">
 /// The error code value.
 /// </param>
 /// <param name="message">
 /// The message.
 /// </param>
 /// <param name="type">
 /// The type.
 /// </param>
 /// <param name="nestedMessages">
 /// The nested messages.
 /// </param>
 public ExceptionMessage(Enumeration <int> errorCodeValue, string message, ExceptionErrorMassageType type, IEnumerable <ExceptionErrorMessageBase> nestedMessages = null)
     : this()
 {
     this.ErrorCodeValue = errorCodeValue;
     this.Message        = message;
     this.Type           = type;
     this.NestedMessages = nestedMessages;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ExceptionErrorMessageBase"/> class.
 /// </summary>
 /// <param name="type">
 /// The type.
 /// </param>
 public ExceptionErrorMessageBase(ExceptionErrorMassageType type)
 {
     this.Type = type;
 }