Class ContentTypeChangeExtensions
Extension methods for content type changes.
Inheritance
Namespace: Umbraco.Extensions
Assembly: Umbraco.Core.dll
Syntax
public static class ContentTypeChangeExtensions
Methods
View SourceHasType(ContentTypeChangeTypes, ContentTypeChangeTypes)
Determines whether the change includes the specified type.
Declaration
public static bool HasType(this ContentTypeChangeTypes change, ContentTypeChangeTypes type)
Parameters
| Type | Name | Description |
|---|---|---|
| ContentTypeChangeTypes | change | The change to check. |
| ContentTypeChangeTypes | type | The type to look for. |
Returns
| Type | Description |
|---|---|
| bool |
|
HasTypesAll(ContentTypeChangeTypes, ContentTypeChangeTypes)
Determines whether the change includes all of the specified types.
Declaration
public static bool HasTypesAll(this ContentTypeChangeTypes change, ContentTypeChangeTypes types)
Parameters
| Type | Name | Description |
|---|---|---|
| ContentTypeChangeTypes | change | The change to check. |
| ContentTypeChangeTypes | types | The types to look for. |
Returns
| Type | Description |
|---|---|
| bool |
|
HasTypesAny(ContentTypeChangeTypes, ContentTypeChangeTypes)
Determines whether the change includes any of the specified types.
Declaration
public static bool HasTypesAny(this ContentTypeChangeTypes change, ContentTypeChangeTypes types)
Parameters
| Type | Name | Description |
|---|---|---|
| ContentTypeChangeTypes | change | The change to check. |
| ContentTypeChangeTypes | types | The types to look for. |
Returns
| Type | Description |
|---|---|
| bool |
|
HasTypesNone(ContentTypeChangeTypes, ContentTypeChangeTypes)
Determines whether the change includes none of the specified types.
Declaration
public static bool HasTypesNone(this ContentTypeChangeTypes change, ContentTypeChangeTypes types)
Parameters
| Type | Name | Description |
|---|---|---|
| ContentTypeChangeTypes | change | The change to check. |
| ContentTypeChangeTypes | types | The types to look for. |
Returns
| Type | Description |
|---|---|
| bool |
|
IsNonStructuralChange(ContentTypeChangeTypes)
Determines whether the change has non-structural change impact.
Declaration
public static bool IsNonStructuralChange(this ContentTypeChangeTypes change)
Parameters
| Type | Name | Description |
|---|---|---|
| ContentTypeChangeTypes | change | The change to check. |
Returns
| Type | Description |
|---|---|
| bool |
|
IsStructuralChange(ContentTypeChangeTypes)
Determines whether the change has structural change impact.
Declaration
public static bool IsStructuralChange(this ContentTypeChangeTypes change)
Parameters
| Type | Name | Description |
|---|---|---|
| ContentTypeChangeTypes | change | The change to check. |
Returns
| Type | Description |
|---|---|
| bool |
|