6 instantiations of SpanType
Aspire.Dashboard (6)
Model\SpanType.cs (6)
23
public static readonly SpanType Http = new
SpanType
(
28
public static readonly SpanType Database = new
SpanType
(
33
public static readonly SpanType Messaging = new
SpanType
(
38
public static readonly SpanType Rpc = new
SpanType
(
43
public static readonly SpanType GenAI = new
SpanType
(
47
public static readonly SpanType Other = new
SpanType
(
21 references to SpanType
Aspire.Dashboard (19)
Components\Controls\SpanTypeSelect.razor.cs (3)
14
public required List<SelectViewModel<
SpanType
>> SpanTypes { get; set; }
17
public required SelectViewModel<
SpanType
> SpanType { get; set; }
20
public EventCallback<SelectViewModel<
SpanType
>> SpanTypeChanged { get; set; }
Components\Pages\TraceDetail.razor.cs (3)
46
private List<SelectViewModel<
SpanType
>> _spanTypes = default!;
47
private SelectViewModel<
SpanType
> _selectedSpanType = default!;
112
_spanTypes =
SpanType
.CreateKnownSpanTypes(ControlStringsLoc);
Components\Pages\Traces.razor.cs (3)
35
private List<SelectViewModel<
SpanType
>> _spanTypes = default!;
170
_spanTypes =
SpanType
.CreateKnownSpanTypes(ControlsStringsLoc);
404
public required SelectViewModel<
SpanType
> SelectedSpanType { get; set; }
Model\SpanType.cs (8)
23
public static readonly
SpanType
Http = new SpanType(
28
public static readonly
SpanType
Database = new SpanType(
33
public static readonly
SpanType
Messaging = new SpanType(
38
public static readonly
SpanType
Rpc = new SpanType(
43
public static readonly
SpanType
GenAI = new SpanType(
47
public static readonly
SpanType
Other = new SpanType(
59
public static List<SelectViewModel<
SpanType
>> CreateKnownSpanTypes(IStringLocalizer<ControlsStrings> loc)
61
return new List<SelectViewModel<
SpanType
>>
Model\TracesViewModel.cs (2)
20
private
SpanType
? _spanType;
28
public
SpanType
? SpanType { get => _spanType; set => SetValue(ref _spanType, value); }
Aspire.Dashboard.Tests (2)
Model\SpanWaterfallViewModelTests.cs (2)
175
var spanType =
SpanType
.CreateKnownSpanTypes(new TestStringLocalizer<ControlsStrings>()).Single(t => t.Id?.Name == spanTypeName);
176
var otherSpanType =
SpanType
.CreateKnownSpanTypes(new TestStringLocalizer<ControlsStrings>()).Single(t => t.Id?.Name == "other");