Interface IDataTypeConfigurationCache
Represents a cache for IDataType configuration.
Namespace: Umbraco.Cms.Core.Cache
Assembly: Umbraco.Core.dll
Syntax
public interface IDataTypeConfigurationCache
Methods
View SourceClearCache(IEnumerable<Guid>)
Clears the cache for the specified keys.
Declaration
void ClearCache(IEnumerable<Guid> keys)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<Guid> | keys | The keys. |
GetConfiguration(Guid)
Gets the data type configuration.
Declaration
virtual object GetConfiguration(Guid key)
Parameters
Type | Name | Description |
---|---|---|
Guid | key | The data type key. |
Returns
Type | Description |
---|---|
System.Object | The data type configuration. |
GetConfigurationAs<T>(Guid)
Gets the data type configuration as T
.
Declaration
T GetConfigurationAs<T>(Guid key)
where T : class
Parameters
Type | Name | Description |
---|---|---|
Guid | key | The data type key. |
Returns
Type | Description |
---|---|
T | The data type configuration as |
Type Parameters
Name | Description |
---|---|
T | The data type configuration type. |