Class DateTypeServiceExtensions
Provides extension methods for IDataTypeService.
Inheritance
object
Namespace: Umbraco.Extensions
Assembly: Umbraco.Core.dll
Syntax
public static class DateTypeServiceExtensions
Methods
View SourceIsDataTypeIgnoringUserStartNodes(IDataTypeService, Guid)
Determines whether the data type is configured to ignore user start nodes.
Declaration
public static bool IsDataTypeIgnoringUserStartNodes(this IDataTypeService dataTypeService, Guid key)
Parameters
| Type | Name | Description |
|---|---|---|
| IDataTypeService | dataTypeService | The data type service. |
| Guid | key | The data type key. |
Returns
| Type | Description |
|---|---|
| bool |
|
IsDataTypeIgnoringUserStartNodesAsync(IDataTypeService, Guid)
Determines asynchronously whether the data type is configured to ignore user start nodes.
Declaration
public static Task<bool> IsDataTypeIgnoringUserStartNodesAsync(this IDataTypeService dataTypeService, Guid key)
Parameters
| Type | Name | Description |
|---|---|---|
| IDataTypeService | dataTypeService | The data type service. |
| Guid | key | The data type key. |
Returns
| Type | Description |
|---|---|
| Task<bool> |
|