C# Class SimpleDeployNet.Core.MsDeployFileService

Inheritance: IMsDeployFileService
Afficher le fichier Open project: dougrathbone/simpledeploynet Class Usage Examples

Méthodes publiques

Méthode Description
DeleteFile ( ConnectionProperties properties, string relativeRemoteFileName ) : bool

Deletes the file.

DownloadFile ( ConnectionProperties properties, string relativeRemoteFileName, string fullLocalFilePathToSave ) : bool

Downloads a remote file.

FetchFileList ( ConnectionProperties properties ) : DeploymentObjectList

Fetches the remote servers file list.

UploadFile ( ConnectionProperties properties, string relativeDestinationFileName, string fullLocalFilePath ) : bool

Uploads a file to the remote host.

Private Methods

Méthode Description
BuildMsDeployUri ( ConnectionProperties properties ) : Uri
GetDeploymentObjectAsXmlDocument ( DeploymentObject obj ) : XmlDocument
WriteXmlObject ( DeploymentObject obj, XmlTextWriter writer ) : void

Method Details

DeleteFile() public méthode

Deletes the file.
Connection properties cannot be null.;properties
public DeleteFile ( ConnectionProperties properties, string relativeRemoteFileName ) : bool
properties ConnectionProperties The properties.
relativeRemoteFileName string Name of the relative remote file.
Résultat bool

DownloadFile() public méthode

Downloads a remote file.
Connection properties cannot be null.;properties
public DownloadFile ( ConnectionProperties properties, string relativeRemoteFileName, string fullLocalFilePathToSave ) : bool
properties ConnectionProperties The properties.
relativeRemoteFileName string Name of the relative remote file.
fullLocalFilePathToSave string The full local file path to save.
Résultat bool

FetchFileList() public méthode

Fetches the remote servers file list.
Connection properties cannot be null.;properties
public FetchFileList ( ConnectionProperties properties ) : DeploymentObjectList
properties ConnectionProperties The properties.
Résultat DeploymentObjectList

UploadFile() public méthode

Uploads a file to the remote host.
Connection properties cannot be null.;properties
public UploadFile ( ConnectionProperties properties, string relativeDestinationFileName, string fullLocalFilePath ) : bool
properties ConnectionProperties The properties.
relativeDestinationFileName string Name of the relative destination file.
fullLocalFilePath string The full local file path.
Résultat bool