C# Class VaultFolderCreate.OpenFileCommand

Exibir arquivo Open project: nick-hall-majenta/Autodesk-Vault-Utilities

Public Methods

Method Description
Execute ( DocumentSvc file ) : void

Downloads a file from Vault and opens it. The program used to load the file is based on the user's OS settings.

OnExit ( ) : void

This should be called when the application exits

Private Methods

Method Description
MultiDownload ( DocumentSvc file, string filePath ) : void

The file is too big to download in a single call, so the file is downloaded in parts.

SimpleDownload ( DocumentSvc file, string filePath ) : void

The entire file can be downloaded in a single call

Method Details

Execute() public static method

Downloads a file from Vault and opens it. The program used to load the file is based on the user's OS settings.
public static Execute ( DocumentSvc file ) : void
file DocumentSvc
return void

OnExit() public static method

This should be called when the application exits
public static OnExit ( ) : void
return void