C# Class jQuery_File_Upload.MVC5.Helpers.FilesHelper

Mostra file Open project: TheKalin/jQuery-File-Upload.MVC5 Class Usage Examples

Public Methods

Method Description
CheckThumb ( String type, String FileName ) : String
DeleteFile ( String file ) : String
DeleteFiles ( String pathToDelete ) : void
FilesHelper ( String DeleteURL, String DeleteType, String StorageRoot, String UrlBase, String tempPath, String serverMapPath ) : System
FilesList ( ) : List
GetFileList ( ) : JsonFiles
UploadAndShowResults ( System.Web.HttpContextBase ContentBase, List resultList ) : void
UploadResult ( String FileName, int fileSize, String FileFullPath ) : ViewDataUploadFilesResult

Private Methods

Method Description
UploadPartialFile ( string fileName, System.Web.HttpContextBase requestContext, List statuses ) : void
UploadWholeFile ( System.Web.HttpContextBase requestContext, List statuses ) : void

Method Details

CheckThumb() public method

public CheckThumb ( String type, String FileName ) : String
type String
FileName String
return String

DeleteFile() public method

public DeleteFile ( String file ) : String
file String
return String

DeleteFiles() public method

public DeleteFiles ( String pathToDelete ) : void
pathToDelete String
return void

FilesHelper() public method

public FilesHelper ( String DeleteURL, String DeleteType, String StorageRoot, String UrlBase, String tempPath, String serverMapPath ) : System
DeleteURL String
DeleteType String
StorageRoot String
UrlBase String
tempPath String
serverMapPath String
return System

FilesList() public method

public FilesList ( ) : List
return List

GetFileList() public method

public GetFileList ( ) : JsonFiles
return JsonFiles

UploadAndShowResults() public method

public UploadAndShowResults ( System.Web.HttpContextBase ContentBase, List resultList ) : void
ContentBase System.Web.HttpContextBase
resultList List
return void

UploadResult() public method

public UploadResult ( String FileName, int fileSize, String FileFullPath ) : ViewDataUploadFilesResult
FileName String
fileSize int
FileFullPath String
return ViewDataUploadFilesResult