GetPSOperationsFromProviderOperationsMetadata() 개인적인 정적인 메소드

private static GetPSOperationsFromProviderOperationsMetadata ( Microsoft.Azure.Management.Resources.Models.ProviderOperationsMetadata providerOperationsMetadata ) : IEnumerable
providerOperationsMetadata Microsoft.Azure.Management.Resources.Models.ProviderOperationsMetadata
리턴 IEnumerable
        /// <summary>
        /// Gets a list of Provider operations in the case that the Actionstring input does not contain a wildcard
        /// </summary>
        private List <PSResourceProviderOperation> ProcessProviderOperationsWithoutWildCard(string operationString)
        {
            string providerFullName = operationString.Split(Separator).First();

            var providerOperations = this.ResourcesClient.GetProviderOperationsMetadata(providerFullName);
            IEnumerable <PSResourceProviderOperation> flattenedProviderOperations = GetAzureProviderOperationCommand.GetPSOperationsFromProviderOperationsMetadata(providerOperations);

            return(flattenedProviderOperations.Where(op => string.Equals(op.Operation, operationString, StringComparison.OrdinalIgnoreCase)).ToList());
        }
        /// <summary>
        /// Gets a list of Provider operations in the case that the Actionstring input does not contain a wildcard
        /// </summary>
        private List <PSResourceProviderOperation> ProcessProviderOperationsWithoutWildCard(string actionString)
        {
            List <PSResourceProviderOperation> operationsToDisplay = new List <PSResourceProviderOperation>();
            string providerFullName = GetAzureProviderOperationCommand.GetResourceProviderFullName(actionString);

            if (!string.IsNullOrWhiteSpace(providerFullName))
            {
                // We have the full name of the provider. get operations metadata for this provider
                ProviderOperationsMetadata providerOperations = this.ResourcesClient.GetProviderOperationsMetadata(providerFullName);
                IEnumerable <PSResourceProviderOperation> flattenedProviderOperations = GetAzureProviderOperationCommand.GetPSOperationsFromProviderOperationsMetadata(providerOperations);
                operationsToDisplay.AddRange(flattenedProviderOperations.Where(op => string.Equals(op.Operation, actionString, StringComparison.OrdinalIgnoreCase)));
            }

            return(operationsToDisplay);
        }