C# 클래스 jsreport.Embedded.EmbeddedReportingServer

Class able to start jsreport nodejs server allong with .net process, synchronize local templates with it and mange it's lifecycle
상속: IEmbeddedReportingServer
파일 보기 프로젝트 열기: jsreport/net 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void
EmbeddedReportingServer ( long port = 2000 ) : System
StartAsync ( ) : Task

Extracts jsreport-net-embedded.zip into path to server directory, starts jsreport using nodejs from bin folder

StopAsync ( ) : Task

Sends kill signal to jsreport server and wait for it's exit

비공개 메소드들

메소드 설명
CopyFilesRecursively ( DirectoryInfo source, DirectoryInfo target ) : void
CreateClient ( ) : HttpClient
Decompress ( ) : void
DeleteDirectoryContent ( string path, bool skipMainDir = true ) : void
DomainUnloadOrProcessExit ( object sender, EventArgs e ) : void
GetMainModuleFilePath ( int processId ) : string
InitializeServerPath ( ) : void
InnerSerializeConfiguration ( object obj, string path ) : string
IsWebApp ( AppDomain appDomain ) : bool
SerializeConfiguration ( ) : string
StartWorker ( ) : void
WaitForStarted ( ) : Task

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

EmbeddedReportingServer() 공개 메소드

public EmbeddedReportingServer ( long port = 2000 ) : System
port long
리턴 System

StartAsync() 공개 메소드

Extracts jsreport-net-embedded.zip into path to server directory, starts jsreport using nodejs from bin folder
public StartAsync ( ) : Task
리턴 Task

StopAsync() 공개 메소드

Sends kill signal to jsreport server and wait for it's exit
public StopAsync ( ) : Task
리턴 Task