IFeaturableContentType
is defined in the Telligent.Evolution.Extensibility.Content.Version1
namespace of Telligent.Evolution.Platform.dll
Definition
interface IFeaturableContentType : IContentType, IPlugin, ISecuredContentType { Guid[] AllowedContainerTargets { get; } Guid ContentPermissionId { get; } int DefaultDurationDays { get; } string DefaultImage { get; } Guid PermissionId { get; } bool CanFeature(Guid contentId, int userId); string GetDescription(IContent content, Target target); string GetTitle(IContent content, Target target); }
Properties
Name | Type | Description | Default | Options |
---|---|---|---|---|
AllowedContainerTargets | Guid[] | |||
ContentPermissionId | Guid | |||
DefaultDurationDays | int | |||
DefaultImage | string | |||
PermissionId | Guid |
Methods
bool CanFeature(Guid contentId, int userId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
contentId | Guid | Content Id | Required | ||
userId | int | User Id | Required |
Return Type
bool
string GetDescription(IContent content, Target target);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
content | IContent | Content | Required | ||
target | Target | Target | Required |
Return Type
string
string GetTitle(IContent content, Target target);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
content | IContent | Content | Required | ||
target | Target | Target | Required |
Return Type
string