Skip to content

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
TypeName
System.Objectobj

Equals(BusinessRuleDetail)

csharp
public bool Equals(BusinessRuleDetail other)
Returns

System.Boolean

Parameters
TypeName
FacturXDotNet.Validation.BusinessRules.BusinessRuleDetailother

Deconstruct(out BusinessRuleDetailSeverity, out string)

csharp
public void Deconstruct(out BusinessRuleDetailSeverity Severity, out string Message)
Parameters
TypeName
FacturXDotNet.Validation.BusinessRules.BusinessRuleDetailSeveritySeverity
System.StringMessage

Implements

  • System.IEquatable<FacturXDotNet.Validation.BusinessRules.BusinessRuleDetail>

The tools are open source and released under the MIT License, feel free to use, modify, and share.