Search Results for

    Show / Hide Table of Contents
    View Source

    Class PublishedPropertyExtension

    Provides extension methods for IPublishedProperty.

    Inheritance
    object
    Namespace: Umbraco.Extensions
    Assembly: Umbraco.Core.dll
    Syntax
    public static class PublishedPropertyExtension

    Methods

    View Source

    Value(IPublishedProperty, IPublishedValueFallback, string?, string?, Fallback, object?)

    Declaration
    public static object? Value(this IPublishedProperty property, IPublishedValueFallback publishedValueFallback, string? culture = null, string? segment = null, Fallback fallback = default, object? defaultValue = null)
    Parameters
    Type Name Description
    IPublishedProperty property
    IPublishedValueFallback publishedValueFallback
    string culture
    string segment
    Fallback fallback
    object defaultValue
    Returns
    Type Description
    object
    View Source

    Value<T>(IPublishedProperty, IPublishedValueFallback, string?, string?, Fallback, T?)

    Declaration
    public static T? Value<T>(this IPublishedProperty property, IPublishedValueFallback publishedValueFallback, string? culture = null, string? segment = null, Fallback fallback = default, T? defaultValue = default)
    Parameters
    Type Name Description
    IPublishedProperty property
    IPublishedValueFallback publishedValueFallback
    string culture
    string segment
    Fallback fallback
    T defaultValue
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX