Interface ISetCopierCloneAlterer
Provides a custom ability to alter the item when it is copied only - not when it is being imported
Namespace: LemonEdge.Core
Assembly: API.dll
Syntax
public interface ISetCopierCloneAlterer
Methods
AlterCopiedItem(IEntityUpdater, UserInfo, IReadOnlyCache, IBaseEntity)
A custom ability to alter this item when it is was copied by the user in the UI, not when it is being imported
Declaration
Task AlterCopiedItem(IEntityUpdater host, UserInfo user, IReadOnlyCache cache, IBaseEntity sourceItem)
Parameters
Type | Name | Description |
---|---|---|
IEntityUpdater | host | The context this item was copied into |
UserInfo | user | The current user |
IReadOnlyCache | cache | The current local cache |
IBaseEntity | sourceItem | The original source item this item was copied from |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A task inidicating the finishing of this method |