Search Results for

    Show / Hide Table of Contents
    View Source

    Class PublishedPropertyExtension

    Provides extension methods for IPublishedProperty.

    Inheritance
    System.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(Fallback), object defaultValue = null)
    Parameters
    Type Name Description
    IPublishedProperty property
    IPublishedValueFallback publishedValueFallback
    System.String culture
    System.String segment
    Fallback fallback
    System.Object defaultValue
    Returns
    Type Description
    System.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(Fallback), T defaultValue = null)
    Parameters
    Type Name Description
    IPublishedProperty property
    IPublishedValueFallback publishedValueFallback
    System.String culture
    System.String segment
    Fallback fallback
    T defaultValue
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • Value(IPublishedProperty, IPublishedValueFallback, String, String, Fallback, Object)
      • Value<T>(IPublishedProperty, IPublishedValueFallback, String, String, Fallback, T)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX