IActivityStoryEmbeddableContentFragmentType
is defined in the Telligent.Evolution.Extensibility.EmbeddableContent.Version2
namespace of Telligent.Evolution.Platform.dll
Definition
interface IActivityStoryEmbeddableContentFragmentType : IEmbeddableContentFragmentType, IPlugin { bool IsCacheable { get; } bool VaryCacheByUser { get; } bool CanPreview(IActivityStory story, IEmbeddableContentFragment embeddedFragment); bool CanView(IActivityStory story, IEmbeddableContentFragment embeddedFragment); string GetPreviewHtml(IActivityStory story, IEmbeddableContentFragment embeddedFragment, Target target); string GetViewHtml(IActivityStory story, IEmbeddableContentFragment embeddedFragment, Target target); }
Properties
Name | Type | Description | Default | Options |
---|---|---|---|---|
IsCacheable | bool | |||
VaryCacheByUser | bool |
Methods
bool CanPreview(IActivityStory story, IEmbeddableContentFragment embeddedFragment);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
story | IActivityStory | Story | Required | ||
embeddedFragment | IEmbeddableContentFragment | Embedded Fragment | Required |
Return Type
bool
bool CanView(IActivityStory story, IEmbeddableContentFragment embeddedFragment);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
story | IActivityStory | Story | Required | ||
embeddedFragment | IEmbeddableContentFragment | Embedded Fragment | Required |
Return Type
bool
string GetPreviewHtml(IActivityStory story, IEmbeddableContentFragment embeddedFragment, Target target);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
story | IActivityStory | Story | Required | ||
embeddedFragment | IEmbeddableContentFragment | Embedded Fragment | Required | ||
target | Target | Target | Required |
Return Type
string
string GetViewHtml(IActivityStory story, IEmbeddableContentFragment embeddedFragment, Target target);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
story | IActivityStory | Story | Required | ||
embeddedFragment | IEmbeddableContentFragment | Embedded Fragment | Required | ||
target | Target | Target | Required |
Return Type
string