Microsoft.WindowsAzure.Commands.Test.Utilities.Common.AzureAssert.GetLocalRole C# (CSharp) Méthode

GetLocalRole() static private méthode

Gets the role settings object from local service configuration.
static private GetLocalRole ( string rootPath, string name ) : RoleSettings
rootPath string The azure service rootPath path
name string
Résultat RoleSettings
        internal static RoleSettings GetLocalRole(string rootPath, string name)
        {
            CloudServiceProject service = new CloudServiceProject(rootPath, FileUtilities.GetContentFilePath("Services"));
            return service.Components.GetLocalConfigRole(name);
        }
    }