7 instantiations of SpanType
Aspire.Dashboard (7)
Model\SpanType.cs (7)
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
(
49
public static readonly SpanType Cloud = new
SpanType
(
53
public static readonly SpanType Other = new
SpanType
(
22 references to SpanType
Aspire.Dashboard (20)
Components\Controls\SpanTypeSelect.razor.cs (3)
13
public required List<SelectViewModel<
SpanType
>> SpanTypes { get; set; }
16
public required SelectViewModel<
SpanType
> SpanType { get; set; }
19
public EventCallback<SelectViewModel<
SpanType
>> SpanTypeChanged { get; set; }
Components\Pages\TraceDetail.razor.cs (3)
50
private List<SelectViewModel<
SpanType
>> _spanTypes = default!;
51
private SelectViewModel<
SpanType
> _selectedSpanType = default!;
129
_spanTypes =
SpanType
.CreateKnownSpanTypes(ControlStringsLoc);
Components\Pages\Traces.razor.cs (3)
39
private List<SelectViewModel<
SpanType
>> _spanTypes = default!;
183
_spanTypes =
SpanType
.CreateKnownSpanTypes(ControlsStringsLoc);
454
public required SelectViewModel<
SpanType
> SelectedSpanType { get; set; }
Model\SpanType.cs (9)
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(
49
public static readonly
SpanType
Cloud = new SpanType(
53
public static readonly
SpanType
Other = new SpanType(
64
public static List<SelectViewModel<
SpanType
>> CreateKnownSpanTypes(IStringLocalizer<ControlsStrings> loc)
66
return new List<SelectViewModel<
SpanType
>>
Model\TracesViewModel.cs (2)
21
private
SpanType
? _spanType;
29
public
SpanType
? SpanType { get => _spanType; set => SetValue(ref _spanType, value); }
Aspire.Dashboard.Tests (2)
Model\SpanWaterfallViewModelTests.cs (2)
182
var spanType =
SpanType
.CreateKnownSpanTypes(new TestStringLocalizer<ControlsStrings>()).Single(t => t.Id?.Name == spanTypeName);
183
var otherSpanType =
SpanType
.CreateKnownSpanTypes(new TestStringLocalizer<ControlsStrings>()).Single(t => t.Id?.Name == "other");