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