Class ContentParser
Implements
Inherited Members
Namespace: Volo.CmsKit.Pro.Admin.Blazor.Pages.CmsKit.Contents
Assembly: Volo.CmsKit.Pro.Admin.Blazor.dll
Syntax
public class ContentParser : ITransientDependency
Constructors
ContentParser(IOptions<CmsKitContentWidgetOptions>)
Declaration
public ContentParser(IOptions<CmsKitContentWidgetOptions> options)
Parameters
Type | Name | Description |
---|---|---|
IOptions<CmsKitContentWidgetOptions> | options |
Methods
ParseAsync(string)
Declaration
public Task<List<ContentFragment>> ParseAsync(string content)
Parameters
Type | Name | Description |
---|---|---|
string | content |
Returns
Type | Description |
---|---|
Task<List<ContentFragment>> |