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

Search Results for

    Edit this page

    Interface IValidator<T>

    Namespace
    AetherUtils.Core.Validation
    Assembly
    AetherUtils.Core.dll
    Interface that all validator classes must implement.
    public interface IValidator<in T> where T : notnull

    Type Parameters

    T

    Methods

    Validate(params T[])

    Validate the objects against a set of conditions.
    [UsedImplicitly]
    public static abstract List<IValidationFailure> Validate(params T[] objects)

    Parameters

    objects T[]
    The objects to validate.

    Returns

    List<IValidationFailure>
    A list of IValidationFailure indicating the result of validation. If no validation errors, this list should be empty.
    (c) 2024 Ethan Hann. All rights reserved.