C# Class SpeakFriend.FileUpload.UploadManager

Inheritance: IDisposable
Mostra file Open project: teamaton/speak-lib Class Usage Examples

Private Properties

Property Type Description
DeleteFile void
Dispose void
OnDisposed void

Public Methods

Method Description
Clear ( ) : void
Dispose ( ) : void

Need to call Dispose() explicitely; calling it in the finalizer crashes the Upload in out-of-process session management systems.

HandleFile ( System.Web.HttpPostedFile postedFile ) : UploadedFile
RemoveFile ( System.Guid tempKey ) : void
RemoveFile ( UploadedFile file ) : void
UploadManager ( ) : System

Private Methods

Method Description
DeleteFile ( UploadedFile file ) : void
Dispose ( bool disposing ) : void
OnDisposed ( ) : void

Method Details

Clear() public method

public Clear ( ) : void
return void

Dispose() public method

Need to call Dispose() explicitely; calling it in the finalizer crashes the Upload in out-of-process session management systems.
public Dispose ( ) : void
return void

HandleFile() public method

public HandleFile ( System.Web.HttpPostedFile postedFile ) : UploadedFile
postedFile System.Web.HttpPostedFile
return UploadedFile

RemoveFile() public method

public RemoveFile ( System.Guid tempKey ) : void
tempKey System.Guid
return void

RemoveFile() public method

public RemoveFile ( UploadedFile file ) : void
file UploadedFile
return void

UploadManager() public method

public UploadManager ( ) : System
return System