IApplicationType
is defined in the Telligent.Evolution.Extensibility.Content.Version1
namespace of Telligent.Evolution.Platform.dll
Definition
interface IApplicationType : IPlugin { Guid ApplicationTypeId { get; } string ApplicationTypeName { get; } Guid[] ContainerTypes { get; } void AttachChangeEvents(IApplicationStateChanges stateChanges); IApplication Get(Guid applicationId); }
Properties
Name | Type | Description | Default | Options |
---|---|---|---|---|
ApplicationTypeId | Guid | A Guid that represents the type of the application. This value is set by the developer. | ||
ApplicationTypeName | string | The name of the application type. | ||
ContainerTypes | Guid[] | The ContainerTypeIds to which this type of application can be added. |
Methods
void AttachChangeEvents(IApplicationStateChanges stateChanges);
Provides an object with privileged access for updating the platform’s internal records of the application. StateChanges should be saved as a class variable and used to update the internal records whenever the application is updated or deleted.
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
stateChanges | IApplicationStateChanges | State Changes | Required |
IApplication Get(Guid applicationId);
Used to retrieve application of the plugin’s ApplicationTypeId with the provided ApplicationId.
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
applicationId | Guid | Application Id | Required |