7 references to MatchesFilter
Aspire.Dashboard (2)
Components\Pages\TraceDetail.razor.cs (1)
101if (viewModel.MatchesFilter(_filter, GetResourceName, out var matchedDescendents))
Model\Otlp\SpanWaterfallViewModel.cs (1)
58if (child.MatchesFilter(filter, getResourceName, out var matchedChildDescendents))
Aspire.Dashboard.Tests (5)
Model\SpanWaterfallViewModelTests.cs (5)
114var result = vm.MatchesFilter(filter, a => a.Application.ApplicationName, out _); 138Assert.True(parent.MatchesFilter("child", a => a.Application.ApplicationName, out _)); 139Assert.True(child.MatchesFilter("child", a => a.Application.ApplicationName, out _)); 160Assert.True(parent.MatchesFilter("parent", a => a.Application.ApplicationName, out var descendents)); 162Assert.False(child.MatchesFilter("parent", a => a.Application.ApplicationName, out _));