C# 클래스 HttpServer.HttpForm

Container for posted form data
상속: HttpInput
파일 보기 프로젝트 열기: 3di/3di-viewer-rei-libs 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
EmptyForm HttpForm

공개 메소드들

메소드 설명
AddFile ( HttpServer.HttpFile file ) : void

Adds a file to the collection of posted files

Clear ( ) : void

Disposes all held HttpFile's and resets values

ContainsFile ( string name ) : bool

Checks if the form contains a specified file

GetFile ( string name ) : HttpServer.HttpFile

Retrieves a file held by by the form

HttpForm ( ) : System

Initializes a form container with the specified name

HttpForm ( HttpInput input ) : System

Makes a deep copy of the input

비공개 메소드들

메소드 설명
HttpForm ( string name, bool ignoreChanges ) : System

메소드 상세

AddFile() 공개 메소드

Adds a file to the collection of posted files
If the file is already added If file is null If the instance is HttpForm.EmptyForm which cannot be modified
public AddFile ( HttpServer.HttpFile file ) : void
file HttpServer.HttpFile The file to add
리턴 void

Clear() 공개 메소드

Disposes all held HttpFile's and resets values
public Clear ( ) : void
리턴 void

ContainsFile() 공개 메소드

Checks if the form contains a specified file
If the instance is HttpForm.EmptyForm which cannot be modified
public ContainsFile ( string name ) : bool
name string Field name of the file parameter
리턴 bool

GetFile() 공개 메소드

Retrieves a file held by by the form
If name is null or empty If the instance is HttpForm.EmptyForm which cannot be modified
public GetFile ( string name ) : HttpServer.HttpFile
name string The identifier of the file
리턴 HttpServer.HttpFile

HttpForm() 공개 메소드

Initializes a form container with the specified name
public HttpForm ( ) : System
리턴 System

HttpForm() 공개 메소드

Makes a deep copy of the input
public HttpForm ( HttpInput input ) : System
input HttpInput The input to copy
리턴 System

프로퍼티 상세

EmptyForm 공개적으로 정적으로 프로퍼티

Instance to help mark a non-initialized form
public static HttpForm,HttpServer EmptyForm
리턴 HttpForm