Struct BusinessRuleDetail
A detail that was logged during the validation of a business rule.
Assembly: FacturXDotNet.dll
csharp
public readonly struct BusinessRuleDetail : IEquatable<BusinessRuleDetail>
Implements:System.IEquatable<FacturXDotNet.Validation.BusinessRules.BusinessRuleDetail>
Properties
Severity
The severity of the detail.
csharp
public BusinessRuleDetailSeverity Severity { get; init; }
Message
The message of the detail.
csharp
public string Message { get; init; }
Methods
ToString()
csharp
public override string ToString()
Returns
System.String
GetHashCode()
csharp
public override int GetHashCode()
Returns
System.Int32
Equals(object)
csharp
public override bool Equals(object obj)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.Object | obj |
Equals(BusinessRuleDetail)
csharp
public bool Equals(BusinessRuleDetail other)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
FacturXDotNet.Validation.BusinessRules.BusinessRuleDetail | other |
Deconstruct(out BusinessRuleDetailSeverity, out string)
csharp
public void Deconstruct(out BusinessRuleDetailSeverity Severity, out string Message)
Parameters
Type | Name |
---|---|
FacturXDotNet.Validation.BusinessRules.BusinessRuleDetailSeverity | Severity |
System.String | Message |
Implements
System.IEquatable<FacturXDotNet.Validation.BusinessRules.BusinessRuleDetail>