/// <summary> /// Lists a collection of properties defined within a service instance. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group. /// </param> /// <param name='serviceName'> /// The name of the API Management service. /// </param> /// <param name='top'> /// Number of records to return. /// </param> /// <param name='skip'> /// Number of records to skip. /// </param> public static IPage <EmailTemplateContract> ListByService(this IEmailTemplateOperations operations, string resourceGroupName, string serviceName, int?top = default(int?), int?skip = default(int?)) { return(operations.ListByServiceAsync(resourceGroupName, serviceName, top, skip).GetAwaiter().GetResult()); }