IContainerType
is defined in the Telligent.Evolution.Extensibility.Content.Version1
namespace of Telligent.Evolution.Platform.dll
Definition
interface IContainerType : IPlugin { Guid ContainerTypeId { get; } string ContainerTypeName { get; } void AttachChangeEvents(IContainerStateChanges stateChanges); IContainer Get(Guid id); }
Properties
Name | Type | Description | Default | Options |
---|---|---|---|---|
ContainerTypeId | Guid | A Guid that represents the type of the container. This value is set by the developer. | ||
ContainerTypeName | string | The name of the container type. |
Methods
void AttachChangeEvents(IContainerStateChanges stateChanges);
Provides an object with privileged access for updating the platform’s internal records of the container. StateChanges should be saved as a class variable and used to update the internal records whenever the container is updated or deleted.
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
stateChanges | IContainerStateChanges | State Changes | Required |
IContainer Get(Guid id);
Used to retrieve container of the plugin’s ContainerTypeId with the provided ContainerId.
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
id | Guid | Id | Required |