Enables content types to identify a custom rendering
IViewableContentType
is defined in the Telligent.Evolution.Extensibility.Content.Version1
namespace of Telligent.Evolution.Platform.dll
Definition
interface IViewableContentType : IContentType, IPlugin { bool IsCacheable { get; } bool VaryCacheByUser { get; } string GetViewHtml(IContent content, Target target); }
Properties
Name | Type | Description | Default | Options |
---|---|---|---|---|
IsCacheable | bool | Identifies if the results of GetViewHtml are cacheable. | ||
VaryCacheByUser | bool | Identifies if the results of GetViewHtml are user-specific |