private GetEndpoints ( [ filterStatus = null, [ filterTags = null, string filterGroup = null, string filterText = null ) : IEnumerable |
||
filterStatus | [ | |
filterTags | [ | |
filterGroup | string | |
filterText | string | |
Résultat | IEnumerable |
public IEnumerable<EndpointDetails> GetEndpoints([FromUri]string[] filterStatus = null, [FromUri]string[] filterTags = null, string filterGroup = null, string filterText = null)
{
var filter = new EndpointFilter()
.WithGroup(filterGroup)
.WithStatus(filterStatus)
.WithTags(filterTags)
.WithText(filterText);
return _endpointRegistry.Endpoints.Select(EndpointDetails.FromDomain).Where(filter.DoesMatch);
}