Show / Hide Table of Contents

Class ScribanDocumentSectionRenderer

Inheritance
System.Object
ScribanDocumentSectionRenderer
Implements
IDocumentSectionRenderer
ITransientDependency
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Volo.Docs.HtmlConverting
Assembly: Volo.Docs.Web.dll
Syntax
public class ScribanDocumentSectionRenderer : IDocumentSectionRenderer, ITransientDependency

Constructors

ScribanDocumentSectionRenderer()

Declaration
public ScribanDocumentSectionRenderer()

Properties

Logger

Declaration
public ILogger<ScribanDocumentSectionRenderer> Logger { get; set; }
Property Value
Type Description
ILogger<ScribanDocumentSectionRenderer>

Methods

GetAvailableParametersAsync(String)

Declaration
public Task<Dictionary<string, List<string>>> GetAvailableParametersAsync(string document)
Parameters
Type Name Description
System.String document
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.Dictionary<System.String, System.Collections.Generic.List<System.String>>>

GetPartialTemplatesInDocumentAsync(String)

Declaration
public Task<List<DocumentPartialTemplateWithValuesDto>> GetPartialTemplatesInDocumentAsync(string documentContent)
Parameters
Type Name Description
System.String documentContent
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.List<DocumentPartialTemplateWithValuesDto>>

RenderAsync(String, DocumentRenderParameters, List<DocumentPartialTemplateContent>)

Declaration
public Task<string> RenderAsync(string document, DocumentRenderParameters parameters = null, List<DocumentPartialTemplateContent> partialTemplates = null)
Parameters
Type Name Description
System.String document
DocumentRenderParameters parameters
System.Collections.Generic.List<DocumentPartialTemplateContent> partialTemplates
Returns
Type Description
System.Threading.Tasks.Task<System.String>

Implements

IDocumentSectionRenderer
ITransientDependency

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft