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