C# 클래스 jsreport.Client.ReportingService

jsreport API .net Wrapper
상속: IReportingService
파일 보기 프로젝트 열기: jsreport/net 1 사용 예제들

공개 메소드들

메소드 설명
GetEnginesAsync ( ) : Task>

Request list of engines registered in jsreport server

GetRecipesAsync ( ) : Task>

Request list of recipes registered in jsreport server

GetServerVersionAsync ( ) : Task

Request jsreport package version

RenderAsync ( RenderRequest request, CancellationToken ct = default(CancellationToken) ) : Task

Overload for more sophisticated rendering.

RenderAsync ( object request, CancellationToken ct = default(CancellationToken) ) : Task

Specify comnpletely the rendering requests, see http://jsreport.net/learn/api for details

RenderAsync ( string templateShortid, object data, CancellationToken ct = default(CancellationToken) ) : Task

The simpliest rendering using template shortid and input data

RenderAsync ( string templateShortid, string jsonData, CancellationToken ct = default(CancellationToken) ) : Task

The simpliest rendering using template shortid and input data

RenderByNameAsync ( string templateName, object data, CancellationToken ct = newCancellationToken() ) : Task

The simpliest rendering using template name and input data

RenderByNameAsync ( string templateName, string jsonData, CancellationToken ct = newCancellationToken() ) : Task

The simpliest rendering using template name and input data

ReportingService ( string serviceUri ) : System
ReportingService ( string serviceUri, string username, string password ) : System

보호된 메소드들

메소드 설명
CreateClient ( ) : HttpClient

비공개 메소드들

메소드 설명
ReportFromResponse ( HttpResponseMessage response ) : Task
ValidateAndSerializeRequest ( object request ) : string

메소드 상세

CreateClient() 보호된 메소드

protected CreateClient ( ) : HttpClient
리턴 System.Net.Http.HttpClient

GetEnginesAsync() 공개 메소드

Request list of engines registered in jsreport server
public GetEnginesAsync ( ) : Task>
리턴 Task>

GetRecipesAsync() 공개 메소드

Request list of recipes registered in jsreport server
public GetRecipesAsync ( ) : Task>
리턴 Task>

GetServerVersionAsync() 공개 메소드

Request jsreport package version
public GetServerVersionAsync ( ) : Task
리턴 Task

RenderAsync() 공개 메소드

Overload for more sophisticated rendering.
public RenderAsync ( RenderRequest request, CancellationToken ct = default(CancellationToken) ) : Task
request RenderRequest ram name="request">Description of rendering process
ct CancellationToken
리턴 Task

RenderAsync() 공개 메소드

Specify comnpletely the rendering requests, see http://jsreport.net/learn/api for details
public RenderAsync ( object request, CancellationToken ct = default(CancellationToken) ) : Task
request object ram name="request">Description of rendering process
ct CancellationToken
리턴 Task

RenderAsync() 공개 메소드

The simpliest rendering using template shortid and input data
public RenderAsync ( string templateShortid, object data, CancellationToken ct = default(CancellationToken) ) : Task
templateShortid string template shortid can be taken from jsreport studio or from filename in jsreport embedded
data object any json serializable object
ct CancellationToken
리턴 Task

RenderAsync() 공개 메소드

The simpliest rendering using template shortid and input data
public RenderAsync ( string templateShortid, string jsonData, CancellationToken ct = default(CancellationToken) ) : Task
templateShortid string template shortid can be taken from jsreport studio or from filename in jsreport embedded
jsonData string any json string
ct CancellationToken
리턴 Task

RenderByNameAsync() 공개 메소드

The simpliest rendering using template name and input data
public RenderByNameAsync ( string templateName, object data, CancellationToken ct = newCancellationToken() ) : Task
templateName string template name
data object any json serializable object
ct CancellationToken
리턴 Task

RenderByNameAsync() 공개 메소드

The simpliest rendering using template name and input data
public RenderByNameAsync ( string templateName, string jsonData, CancellationToken ct = newCancellationToken() ) : Task
templateName string template shortid can be taken from jsreport studio or from filename in jsreport embedded
jsonData string any json string
ct CancellationToken
리턴 Task

ReportingService() 공개 메소드

public ReportingService ( string serviceUri ) : System
serviceUri string
리턴 System

ReportingService() 공개 메소드

public ReportingService ( string serviceUri, string username, string password ) : System
serviceUri string
username string
password string
리턴 System