Aether Utilities Aether Utilities
Aether Utilities Aether Utilities
DocFX + Singulink = ♥

Search Results for

    Edit this page

    Class ValidationFailure

    Namespace
    AetherUtils.Core.Validation
    Assembly
    AetherUtils.Core.dll
    Represents a validation failure when checking a password against a password rule.
    public sealed class ValidationFailure : IValidationFailure
    Inheritance
    object
    ValidationFailure
    Implements
    IValidationFailure
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Extension Methods
    TypeExtensions.CanSerializeJson<T>(T)
    TypeExtensions.CanSerializeXml<T>(T)
    TypeExtensions.SerializeJson<T>(T)
    TypeExtensions.SerializeXml<T>(T)

    Constructors

    ValidationFailure()

    Create a new validation failure.
    public ValidationFailure()

    ValidationFailure(string, string)

    Represents a validation failure when checking a password against a password rule.
    public ValidationFailure(string message, string howToResolve)

    Parameters

    message string
    The message associated with the failure.
    howToResolve string
    Indicates how to fix the failure.

    Properties

    HowToResolve

    Gets or sets the message that describes how to resolve the validation failure.
    public string HowToResolve { get; set; }

    Property Value

    string

    Message

    Gets or sets the message that describes the password validation failure.
    public string Message { get; set; }

    Property Value

    string
    (c) 2024 Ethan Hann. All rights reserved.