public ErrorCode(IErrorCode other, ArgumentPlaceholder <string> description = default, ArgumentPlaceholder <SeverityLevel?> severityLevel = default) : this( identifier : other.EnsureNotNull(nameof(other)).Value.Identifier, severityLevel : severityLevel.Substitute(value : other.SeverityLevel), description : description.Substitute(value : other.Description)) { }
public InteractionFaultCode(IErrorCode code) { code.EnsureNotNull(nameof(code)); // Identifier = code.Identifier; Description = code.Description; SeverityLevel = code.SeverityLevel; }