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