Search Results for

    Show / Hide Table of Contents
    View Source

    Class PropertyValidationContext

    Inheritance
    object
    Namespace: Umbraco.Cms.Core.Models.Validation
    Assembly: Umbraco.Core.dll
    Syntax
    public sealed class PropertyValidationContext

    Properties

    View Source

    Culture

    Declaration
    public required string? Culture { get; init; }
    Property Value
    Type Description
    string
    View Source

    CulturesBeingValidated

    Declaration
    public required IEnumerable<string> CulturesBeingValidated { get; init; }
    Property Value
    Type Description
    IEnumerable<string>
    View Source

    Segment

    Declaration
    public required string? Segment { get; init; }
    Property Value
    Type Description
    string
    View Source

    SegmentsBeingValidated

    Declaration
    public required IEnumerable<string?> SegmentsBeingValidated { get; init; }
    Property Value
    Type Description
    IEnumerable<string>

    Methods

    View Source

    CultureAndSegment(string?, string?)

    Declaration
    public static PropertyValidationContext CultureAndSegment(string? culture, string? segment)
    Parameters
    Type Name Description
    string culture
    string segment
    Returns
    Type Description
    PropertyValidationContext
    View Source

    Empty()

    Declaration
    public static PropertyValidationContext Empty()
    Returns
    Type Description
    PropertyValidationContext
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX