System.Object
Namespace: Umbraco.Cms.Core.Services Assembly: Umbraco.Core.dll Syntaxpublic class DataTypeUsageService : IDataTypeUsageService
Constructors View Source DataTypeUsageService(IDataTypeUsageRepository, ICoreScopeProvider) Declaration
public DataTypeUsageService(IDataTypeUsageRepository dataTypeUsageRepository, ICoreScopeProvider scopeProvider)
Parameters View Source DataTypeUsageService(IDataTypeUsageRepository, IDataTypeService, ICoreScopeProvider) Declaration
public DataTypeUsageService(IDataTypeUsageRepository dataTypeUsageRepository, IDataTypeService dataTypeService, ICoreScopeProvider scopeProvider)
Parameters Methods View Source HasSavedValues(Int32) Declaration
public bool HasSavedValues(int dataTypeId)
Parameters Type Name Description System.Int32 dataTypeId Returns Type Description System.Boolean View Source HasSavedValuesAsync(Guid)
Checks if there are any saved property values using a given data type.
Declarationpublic async Task<Attempt<bool, DataTypeOperationStatus>> HasSavedValuesAsync(Guid dataTypeKey)
Parameters Type Name Description Guid dataTypeKey
The key of the data type to check.
Returns Type Description Task<Attempt<System.Boolean, DataTypeOperationStatus>>An attempt with status and result if there are any property values using the data type, 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