Show / Hide Table of Contents

Interface IDocumentService

Namespace: PayrollEngine.Document
Assembly: PayrollEngine.Core.dll
Syntax
public interface IDocumentService

Methods

ExcelMergeAsync(DataSet, DocumentMetadata, IDictionary<string, object>)

Declaration
Task<Stream> ExcelMergeAsync(DataSet dataSet, DocumentMetadata metadata, IDictionary<string, object> parameters = null)
Parameters
Type Name Description
DataSet dataSet
DocumentMetadata metadata
IDictionary<string, object> parameters
Returns
Type Description
Task<Stream>

GenerateAsync(DataSet, Stream)

Declaration
Task<Stream> GenerateAsync(DataSet dataSet, Stream templateStream = null)
Parameters
Type Name Description
DataSet dataSet
Stream templateStream
Returns
Type Description
Task<Stream>

IsMergeable(DocumentType)

Declaration
bool IsMergeable(DocumentType documentType)
Parameters
Type Name Description
DocumentType documentType
Returns
Type Description
bool

IsSupported(DocumentType)

Declaration
bool IsSupported(DocumentType documentType)
Parameters
Type Name Description
DocumentType documentType
Returns
Type Description
bool

MergeAsync(Stream, DataSet, DocumentType, DocumentMetadata, IDictionary<string, object>)

Declaration
Task<Stream> MergeAsync(Stream templateStream, DataSet dataSet, DocumentType documentType, DocumentMetadata metadata, IDictionary<string, object> parameters = null)
Parameters
Type Name Description
Stream templateStream
DataSet dataSet
DocumentType documentType
DocumentMetadata metadata
IDictionary<string, object> parameters
Returns
Type Description
Task<Stream>

Extension Methods

ConsoleExtensions.WriteProperties(object, bool)
ValueTypeExtensions.GetValueType(object)
ObjectInfo.GetPropertyValue(object, string)
ObjectInfo.GetPropertyValue<T>(object, string, T)
ObjectInfo.ResolvePropertyValue(object, string)
ObjectInfo.SetPropertyValue(object, string, object)
☀
☾
Back to top Generated by DocFX