A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://apidocs.umbraco.com/v15/csharp/api/Umbraco.Cms.Core.Services.PropertyTypeUsageService.html below:

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 View Source PropertyTypeUsageService(IPropertyTypeUsageRepository, IContentTypeService, ICoreScopeProvider) Declaration
public PropertyTypeUsageService(IPropertyTypeUsageRepository propertyTypeUsageRepository, IContentTypeService contentTypeService, ICoreScopeProvider scopeProvider)
Parameters 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.

View Source HasSavedPropertyValuesAsync(Guid, String)

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

Declaration
public async Task<Attempt<bool, PropertyTypeOperationStatus>> HasSavedPropertyValuesAsync(Guid contentTypeKey, string propertyAlias)
Parameters Type Name Description Guid contentTypeKey

The key of the content type to check.

System.String propertyAlias

The alias of the property to check.

Returns Type Description Task<Attempt<System.Boolean, PropertyTypeOperationStatus>>

An attempt with status and result if the property type has any property values, otherwise false.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4