Class ScribanDocumentSectionRenderer.DocsJsonSection
Inheritance
ScribanDocumentSectionRenderer.DocsJsonSection
Assembly: Volo.Docs.Domain.Shared.dll
Syntax
protected class ScribanDocumentSectionRenderer.DocsJsonSection
Constructors
DocsJsonSection(string, string)
Declaration
public DocsJsonSection(string opener, string closer)
Parameters
Properties
Closer
Declaration
public string Closer { get; }
Property Value
Opener
Declaration
public string Opener { get; }
Property Value
Methods
GetJsonBeginEndIndexesAndPureJson(string, string)
Declaration
public (int, int, string) GetJsonBeginEndIndexesAndPureJson(string document, string sectionName)
Parameters
Returns
GetPartialTemplatesInDocumentAsync(string)
Declaration
public Task<List<DocumentPartialTemplateWithValues>> GetPartialTemplatesInDocumentAsync(string documentContent)
Parameters
| Type |
Name |
Description |
| string |
documentContent |
|
Returns
SetPartialTemplates(string, IReadOnlyCollection<DocumentPartialTemplateContent>)
Declaration
public string SetPartialTemplates(string document, IReadOnlyCollection<DocumentPartialTemplateContent> templates)
Parameters
Returns
Extension Methods