Search Results for

    Show / Hide Table of Contents
    View Source

    Class PropertyTypeUsageService

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Services
    Assembly: Umbraco.Core.dll
    Syntax
    public class PropertyTypeUsageService : IPropertyTypeUsageService

    Constructors

    View Source

    PropertyTypeUsageService(IPropertyTypeUsageRepository, ICoreScopeProvider)

    Declaration
    public PropertyTypeUsageService(IPropertyTypeUsageRepository propertyTypeUsageRepository, ICoreScopeProvider scopeProvider)
    Parameters
    Type Name Description
    IPropertyTypeUsageRepository propertyTypeUsageRepository
    ICoreScopeProvider scopeProvider

    Methods

    View Source

    HasSavedPropertyValues(String)

    Checks if a property type has any saved property values associated with it.

    Declaration
    public bool HasSavedPropertyValues(string propertyTypeAlias)
    Parameters
    Type Name Description
    System.String propertyTypeAlias

    The alias of the property type to check.

    Returns
    Type Description
    System.Boolean

    True if the property type has any property values, otherwise false.

    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • PropertyTypeUsageService(IPropertyTypeUsageRepository, ICoreScopeProvider)
    • Methods
      • HasSavedPropertyValues(String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX