Show / Hide Table of Contents

Interface IDocumentSectionRenderer

Namespace: Volo.Docs.HtmlConverting
Assembly: Volo.Docs.Web.dll
Syntax
public interface IDocumentSectionRenderer : ITransientDependency

Methods

GetAvailableParametersAsync(String)

Declaration
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
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
Task<string> RenderAsync(string doucment, DocumentRenderParameters parameters = null, List<DocumentPartialTemplateContent> partialTemplates = null)
Parameters
Type Name Description
System.String doucment
DocumentRenderParameters parameters
System.Collections.Generic.List<DocumentPartialTemplateContent> partialTemplates
Returns
Type Description
System.Threading.Tasks.Task<System.String>

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