Class BaseEntityCloneContext
The context that is used with SetItemInfo and ICloneableAsync copying items
Inherited Members
Namespace: LemonEdge.API.Entities
Assembly: LemonEdge.API.dll
Syntax
public class BaseEntityCloneContext
Constructors
BaseEntityCloneContext(UserInfo, IReadOnlyCache, IEntityUpdater)
Creates a new context for cloning items that can be used for loading sub items as part of the clone
Declaration
public BaseEntityCloneContext(UserInfo user, IReadOnlyCache cache, IEntityUpdater updater)
Parameters
Type | Name | Description |
---|---|---|
UserInfo | user | The current logged in user |
IReadOnlyCache | cache | A local cache |
IEntityUpdater | updater | An IEntityUpdater context for retrieving sub items |
Properties
Cache
A local cache
Declaration
public IReadOnlyCache Cache { get; }
Property Value
Type | Description |
---|---|
IReadOnlyCache |
Updater
An IEntityUpdater context for retrieving sub items
Declaration
public IEntityUpdater Updater { get; set; }
Property Value
Type | Description |
---|---|
IEntityUpdater |
User
The current logged in user
Declaration
public UserInfo User { get; }
Property Value
Type | Description |
---|---|
UserInfo |