Table of Contents

Class Mprn

Namespace
Veritas.Energy.GB
Assembly
Veritas.dll

Provides validation for MPRN identifiers.

public static class Mprn
Inheritance
Mprn
Inherited Members

Methods

TryValidate(ReadOnlySpan<char>, out ValidationResult<MprnValue>)

Attempts to validate the supplied input as an MPRN.

public static bool TryValidate(ReadOnlySpan<char> input, out ValidationResult<MprnValue> result)

Parameters

input ReadOnlySpan<char>

Candidate identifier to validate.

result ValidationResult<MprnValue>

The validation outcome including the parsed value when valid.

Returns

bool

true if validation succeeded; otherwise, false.