C# 클래스 Pcc.PrizmApplicationServices

파일 보기 프로젝트 열기: Accusoft/PCC-Viewer-CSharp-Annotation-Layers

공개 메소드들

메소드 설명
CreateSessionFromDocument ( string documentName ) : string

Creates a new viewing session from an existing document in document storage

CreateSessionFromFileUpload ( string filePath ) : string

Creates a new viewing session from a file

CreateSessionFromForm ( string formId ) : string

Creates a new viewing session from an existing form

ForwardRequest ( HttpContext context, string path ) : void

Forwards any given request to PrizmApplicationServices

비공개 메소드들

메소드 설명
CreatePasRequest ( string method, string path = "", string queryString = "" ) : HttpWebRequest
GetProxyRequest ( HttpContext context, string method, string path, string query ) : HttpWebRequest
GetProxyRequestWithQuery ( HttpContext context, string method, string path = "", NameValueCollection query = null ) : HttpWebRequest
GetResponseStreamBytes ( WebResponse response ) : byte[]
JsonToDictionary ( string json ) : object>.Dictionary
ToQueryString ( NameValueCollection nvc ) : string
UpdateContextResponse ( HttpContext context, HttpWebResponse response ) : void

메소드 상세

CreateSessionFromDocument() 공개 정적인 메소드

Creates a new viewing session from an existing document in document storage
public static CreateSessionFromDocument ( string documentName ) : string
documentName string The name of the document
리턴 string

CreateSessionFromFileUpload() 공개 정적인 메소드

Creates a new viewing session from a file
public static CreateSessionFromFileUpload ( string filePath ) : string
filePath string The full path of the file that will be uploaded
리턴 string

CreateSessionFromForm() 공개 정적인 메소드

Creates a new viewing session from an existing form
public static CreateSessionFromForm ( string formId ) : string
formId string The ID of the previously saved form
리턴 string

ForwardRequest() 공개 정적인 메소드

Forwards any given request to PrizmApplicationServices
public static ForwardRequest ( HttpContext context, string path ) : void
context System.Web.HttpContext The HTTP Context that will be used to access both request and response
path string The path that will be used to invoke PrizmApplicationServices
리턴 void