Метод | Описание | |
---|---|---|
CombinePath ( ) : string | ||
CopyDirectory ( string sourceDirectory, string destinationDirectory ) : void |
Copy a directory from one path to another.
|
|
CreateTempDirectory ( ) : string |
Create a unique temp directory.
|
|
DirectoryCopy ( string sourceDirName, string destDirName, bool copySubDirs ) : void |
Copies a directory.
|
|
EnsureDirectoryExists ( string pathName ) : void |
Ensures that a directory exists beofre attempting to write a file
|
|
GetAssemblyDirectory ( ) : string | ||
GetContentFilePath ( string fileName ) : string | ||
GetContentFilePath ( string startDirectory, string fileName ) : string | ||
GetFileEncoding ( string path ) : |
||
GetInstallPath ( ) : string |
Gets the root directory for all modules installation.
|
|
GetModuleFolderName ( AzureModule module ) : string | ||
GetModuleName ( AzureModule module ) : string | ||
GetPSModulePathForModule ( AzureModule module ) : string |
Gets the root installation path for the given Azure module.
|
|
GetWithProgramFilesPath ( string directoryName, bool throwIfNotFound ) : string | ||
IsValidDirectoryPath ( string path ) : bool |
Returns true if path is a valid directory.
|
|
RecreateDirectory ( string dir ) : void |
Метод | Описание | |
---|---|---|
FileUtilities ( ) : Microsoft.Azure.Commands.Common.Authentication.Models |
public static CopyDirectory ( string sourceDirectory, string destinationDirectory ) : void | ||
sourceDirectory | string | Source directory. |
destinationDirectory | string | Destination directory. |
Результат | void |
public static CreateTempDirectory ( ) : string | ||
Результат | string |
public static DirectoryCopy ( string sourceDirName, string destDirName, bool copySubDirs ) : void | ||
sourceDirName | string | The source directory name |
destDirName | string | The destination directory name |
copySubDirs | bool | Should the copy be recursive |
Результат | void |
public static EnsureDirectoryExists ( string pathName ) : void | ||
pathName | string | The path to the file that will be created |
Результат | void |
public static GetAssemblyDirectory ( ) : string | ||
Результат | string |
public static GetContentFilePath ( string fileName ) : string | ||
fileName | string | |
Результат | string |
public static GetContentFilePath ( string startDirectory, string fileName ) : string | ||
startDirectory | string | |
fileName | string | |
Результат | string |
public static GetFileEncoding ( string path ) : |
||
path | string | |
Результат |
public static GetInstallPath ( ) : string | ||
Результат | string |
public static GetModuleFolderName ( AzureModule module ) : string | ||
module | AzureModule | |
Результат | string |
public static GetModuleName ( AzureModule module ) : string | ||
module | AzureModule | |
Результат | string |
public static GetPSModulePathForModule ( AzureModule module ) : string | ||
module | AzureModule | The module name |
Результат | string |
public static GetWithProgramFilesPath ( string directoryName, bool throwIfNotFound ) : string | ||
directoryName | string | |
throwIfNotFound | bool | |
Результат | string |
public static IsValidDirectoryPath ( string path ) : bool | ||
path | string | |
Результат | bool |
public static RecreateDirectory ( string dir ) : void | ||
dir | string | |
Результат | void |