Class
EntityValidationResult
OfficeIMO.Entities
The local validation result for an entity value.
Inheritance
- object
- EntityValidationResult
Usage
Explore 5 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 4
- Property EntityCandidate.Validation
- Method EntityCatalog.Validate
- Property EntityMatch.Validation
- Method EntityScheme.Validate
Accepted by parameters 1
- Constructor EntityCandidate.EntityCandidate
Constructors
public EntityValidationResult(EntityScheme scheme, EntityValidationStatus status, string? normalized = null, EntityCheckOutcome checkDigit = NotDefined, EntityCheckInfo? check = null) #Creates a validation result. Supply a canonical value for a valid result.
Parameters
- scheme OfficeIMO.Entities.EntityScheme
- status OfficeIMO.Entities.EntityValidationStatus
- normalized string? = null
- checkDigit OfficeIMO.Entities.EntityCheckOutcome = NotDefined
- check OfficeIMO.Entities.EntityCheckInfo? = null
Methods
public override string ToString() #Returns a string that represents the current object.
Returns
string A string that represents the current object.Inherited Methods
Properties
public bool IsValid { get; } #Whether format and applicable checks passed.
public string? Normalized { get; } #Canonical value when the format parsed. This property may contain sensitive data.
public EntityCheckOutcome CheckDigit { get; } #Outcome of the checksum, when applied.
public EntityCheckInfo? Check { get; } #The check applied by the scheme, if any.
public EntityCheckProvenance CheckProvenance { get; } #Provenance of the checksum applied to this variant.