C# Class RavenFS.Studio.Commands.UploadCommand

Inheritance: Command
显示文件 Open project: hibernating-rhinos/RavenFS

Public Methods

Method Description
Execute ( object parameter ) : void
UploadCommand ( Observable currentFolder ) : System

Private Methods

Method Description
GetFilesFromFileDialog ( ) : IList
GetNaturalSize ( long bytes ) : string
GetProgressText ( long bytesUploaded, long fileSize ) : string
QueueForUpload ( System.IO.FileInfo file, string folder ) : void
TryShowDialog ( OpenFileDialog fileDialog ) : bool?

Method Details

Execute() public method

public Execute ( object parameter ) : void
parameter object
return void

UploadCommand() public method

public UploadCommand ( Observable currentFolder ) : System
currentFolder Observable
return System