This service is available via Telligent.Evolution.Extensibility.Apis.Get<Telligent.Evolution.Extensibility.Api.Version1.IEmbeddableContentFragments>()
and is defined in Telligent.Evolution.Platform.dll
Events
Events.AfterCreate
Handler
void EmbeddableContentFragmentAfterCreateEventHandler(EmbeddableContentFragmentAfterCreateEventArgs e);
Events.AfterDelete
Handler
void EmbeddableContentFragmentAfterDeleteEventHandler(EmbeddableContentFragmentAfterDeleteEventArgs e);
Events.AfterUpdate
Handler
void EmbeddableContentFragmentAfterUpdateEventHandler(EmbeddableContentFragmentAfterUpdateEventArgs e);
Methods
IEmbeddableContentFragment[] List(string html, Guid contentId, Guid contentTypeId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
html | string | Html | Required | ||
contentId | Guid | Content Id | Required | ||
contentTypeId | Guid | Content Type Id | Required |
Return Type
IEmbeddableContentFragment[] List(string html, Guid contentId, Guid contentTypeId, Guid? typeId);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
html | string | Html | Required | ||
contentId | Guid | Content Id | Required | ||
contentTypeId | Guid | Content Type Id | Required | ||
typeId | Guid? | Type Id | Required |
Return Type
void Render(string html, IActivityStory story, string target, Guid contentId, Guid contentTypeId, Action<IRenderedEmbeddableContentFragment> action, int maxToInclude = 10);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
html | string | Html | Required | ||
story | IActivityStory | Story | Required | ||
target | string | Target | Required | ||
contentId | Guid | Content Id | Required | ||
contentTypeId | Guid | Content Type Id | Required | ||
action | Action<IRenderedEmbeddableContentFragment> | Action | Required | ||
maxToInclude | int | Max To Include | Optional | 10 |
void Render(string html, IActivityStory story, string target, Guid contentId, Guid contentTypeId, Guid? typeId, Action<IRenderedEmbeddableContentFragment> action, int maxToInclude = 10);
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
html | string | Html | Required | ||
story | IActivityStory | Story | Required | ||
target | string | Target | Required | ||
contentId | Guid | Content Id | Required | ||
contentTypeId | Guid | Content Type Id | Required | ||
typeId | Guid? | Type Id | Required | ||
action | Action<IRenderedEmbeddableContentFragment> | Action | Required | ||
maxToInclude | int | Max To Include | Optional | 10 |