Plugin that scopes IContentConverter plugins to only be available pending programmatic validation
IValidatableContentConverter
is defined in the Telligent.Evolution.Extensibility.ContentConversion.Version1
namespace of Telligent.Evolution.Platform.dll
Definition
interface IValidatableContentConverter : IContentConverter, IPlugin { bool Validate(Guid sourceContentId); }
Methods
bool Validate(Guid sourceContentId);
Implements extra custom validation of when the converter should be available for a given source and target content type id pair. When false, the converter is not returned when listing available target content types, even if source's content type matches.
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
sourceContentId | Guid | Implements extra custom validation of when the converter should be available for a given source and target content type id pair. When false, the converter is not returned when listing available target content types, even if source's content type matches. | Required |
Return Type
bool