Elastacloud.AzureManagement.Fluent.Types.CscfgFile.GetRoleNameList C# (CSharp) Method

GetRoleNameList() public method

Gets a list of role names from the .cscfg file
public GetRoleNameList ( ) : List
return List
        public List<string> GetRoleNameList()
        {
            return OriginalVersion.Descendants(Namespaces.NsServiceManagement + "Role")
                .Attributes("name")
                .Select(attribute => attribute.Value)
                .ToList();
        }