HealthMonitoring.SelfHost.Controllers.EndpointsController.GetEndpoints C# (CSharp) Method

GetEndpoints() private method

private GetEndpoints ( [ filterStatus = null, [ filterTags = null, string filterGroup = null, string filterText = null ) : IEnumerable
filterStatus [
filterTags [
filterGroup string
filterText string
return 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);
        }