7 references to MatchesFilter
Aspire.Dashboard (2)
Components\Pages\TraceDetail.razor.cs (1)
115if (viewModel.MatchesFilter(_filter, GetResourceName, out var matchedDescendents))
Model\Otlp\SpanWaterfallViewModel.cs (1)
59if (child.MatchesFilter(filter, getResourceName, out var matchedChildDescendents))
Aspire.Dashboard.Tests (5)
Model\SpanWaterfallViewModelTests.cs (5)
147var result = vm.MatchesFilter(filter, a => a.Application.ApplicationName, out _); 171Assert.True(parent.MatchesFilter("child", a => a.Application.ApplicationName, out _)); 172Assert.True(child.MatchesFilter("child", a => a.Application.ApplicationName, out _)); 193Assert.True(parent.MatchesFilter("parent", a => a.Application.ApplicationName, out var descendents)); 195Assert.False(child.MatchesFilter("parent", a => a.Application.ApplicationName, out _));