Class PrintViewHttpResponse
Ответ в виде печатного представления.
Inherited Members
Namespace:InfinniPlatform.PrintView
Assembly:InfinniPlatform.PrintView.Abstractions.dll
Syntax
public class PrintViewHttpResponse : HttpResponse, IHttpResponse
Constructors
| Improve this Doc View SourcePrintViewHttpResponse(IPrintViewBuilder, Func<Stream>, Object, PrintViewFileFormat)
Конструктор.
Declaration
public PrintViewHttpResponse(IPrintViewBuilder builder, Func<Stream> template, object dataSource = null, PrintViewFileFormat fileFormat = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IPrintViewBuilder | builder | Фабрика печатных представлений. |
| Func<Stream> | template | Шаблон печатного представления. |
| System.Object | dataSource | Данные печатного представления. |
| PrintViewFileFormat | fileFormat | Формат файла печатного представления. |
PrintViewHttpResponse(IPrintViewBuilder, PrintDocument, Object, PrintViewFileFormat)
Конструктор.
Declaration
public PrintViewHttpResponse(IPrintViewBuilder builder, PrintDocument template, object dataSource = null, PrintViewFileFormat fileFormat = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IPrintViewBuilder | builder | Фабрика печатных представлений. |
| PrintDocument | template | Шаблон печатного представления. |
| System.Object | dataSource | Данные печатного представления. |
| PrintViewFileFormat | fileFormat | Формат файла печатного представления. |