Class BulkChangeItem
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Events.ChangeNotification
Assembly: EPiServer.Events.dll
Version: 8.11.0Syntax
public abstract class BulkChangeItem : IBulkChangeItem
Constructors
BulkChangeItem()
Declaration
protected BulkChangeItem()
Properties
AfterObject
Declaration
public abstract object AfterObject { get; }
Property Value
Type | Description |
---|---|
System.Object |
BeforeObject
Declaration
public abstract object BeforeObject { get; }
Property Value
Type | Description |
---|---|
System.Object |
Methods
ForChange<T>(T, T)
Creates a BulkChangeItem<TChangedData>.
Declaration
public static IBulkChangeItem<T> ForChange<T>(T before, T after)
where T : class
Parameters
Type | Name | Description |
---|---|---|
T | before | The before value. |
T | after | The after value. |
Returns
Type | Description |
---|---|
IBulkChangeItem<T> | A new BulkChangeItem{T} representing the specified change. |
Type Parameters
Name | Description |
---|---|
T | The type of the changed data. |
ForDelete<T>(T)
Creates a BulkChangeItem{T} that represents a delete.
Declaration
public static IBulkChangeItem<T> ForDelete<T>(T deletedItem)
where T : class
Parameters
Type | Name | Description |
---|---|---|
T | deletedItem | The item being deleted. |
Returns
Type | Description |
---|---|
IBulkChangeItem<T> | A new BulkChangeItem{T} representing the deletion of
|
Type Parameters
Name | Description |
---|---|
T | The type of the changed data. |
ForInsert<T>(T)
Creates a BulkChangeItem{T} that represents an insert.
Declaration
public static IBulkChangeItem<T> ForInsert<T>(T insertedItem)
where T : class
Parameters
Type | Name | Description |
---|---|---|
T | insertedItem | The item being inserted. |
Returns
Type | Description |
---|---|
IBulkChangeItem<T> | A new BulkChangeItem{T} representing the insertion of
|
Type Parameters
Name | Description |
---|---|
T | The type of the changed data. |