Microsoft.WindowsAzure.Commands.Test.Utilities.Common.FileSystemHelper.CreateAzureSdkDirectoryAndImportPublishSettings C# (CSharp) Method

CreateAzureSdkDirectoryAndImportPublishSettings() public method

Create a temporary Azure SDK directory to simulate global files.
public CreateAzureSdkDirectoryAndImportPublishSettings ( ) : string
return string
        public string CreateAzureSdkDirectoryAndImportPublishSettings()
        {
            return CreateAzureSdkDirectoryAndImportPublishSettings(Data.ValidPublishSettings[0]);
        }

Same methods

FileSystemHelper::CreateAzureSdkDirectoryAndImportPublishSettings ( string publishSettingsPath ) : string

Usage Example

 public void DisableRemoteDesktopForEmptyService()
 {
     using (FileSystemHelper files = new FileSystemHelper(this))
     {
         files.CreateAzureSdkDirectoryAndImportPublishSettings();
         files.CreateNewService("NEW_SERVICE");
         disableRDCmdlet.DisableRemoteDesktop();
     }
 }
All Usage Examples Of Microsoft.WindowsAzure.Commands.Test.Utilities.Common.FileSystemHelper::CreateAzureSdkDirectoryAndImportPublishSettings