Class ContentTypeChange<TItem>
Represents a change to a content type.
Inheritance
object
Namespace: Umbraco.Cms.Core.Services.Changes
Assembly: Umbraco.Core.dll
Syntax
public class ContentTypeChange<TItem> where TItem : class, IContentTypeComposition
Type Parameters
| Name | Description |
|---|---|
| TItem | The type of content type that changed. |
Constructors
View SourceContentTypeChange(TItem, ContentTypeChangeTypes)
Initializes a new instance of the ContentTypeChange<TItem> class.
Declaration
public ContentTypeChange(TItem item, ContentTypeChangeTypes changeTypes)
Parameters
| Type | Name | Description |
|---|---|---|
| TItem | item | The content type that changed. |
| ContentTypeChangeTypes | changeTypes | The types of changes that occurred. |
Properties
View SourceChangeTypes
Gets or sets the types of changes that occurred.
Declaration
public ContentTypeChangeTypes ChangeTypes { get; set; }
Property Value
| Type | Description |
|---|---|
| ContentTypeChangeTypes |
Item
Gets the content type that changed.
Declaration
public TItem Item { get; }
Property Value
| Type | Description |
|---|---|
| TItem |