169 instantiations of InjectAttribute
Aspire.Dashboard (119)
Components\Controls\ApplicationName.razor.cs (1)
21[Inject]
Components\Controls\Chart\ChartBase.cs (5)
34[Inject] 37[Inject] 40[Inject] 43[Inject] 46[Inject]
Components\Controls\Chart\ChartContainer.razor.cs (3)
35[Inject] 38[Inject] 41[Inject]
Components\Controls\Chart\MetricTable.razor.cs (2)
31[Inject] 34[Inject]
Components\Controls\Chart\PlotlyChart.razor.cs (3)
24[Inject] 27[Inject] 30[Inject]
Components\Controls\Grid\AspireFluentDataGridHeaderCell.razor.cs (1)
19[Inject]
Components\Controls\GridValue.razor.cs (1)
90[Inject]
Components\Controls\LogViewer.razor.cs (3)
22[Inject] 25[Inject] 28[Inject]
Components\Controls\ResourceActions.razor.cs (4)
23[Inject] 26[Inject] 29[Inject] 32[Inject]
Components\Controls\SpanActions.razor.cs (2)
20[Inject] 23[Inject]
Components\Controls\SpanDetails.razor.cs (3)
19[Inject] 22[Inject] 25[Inject]
Components\Controls\StructuredLogActions.razor.cs (3)
20[Inject] 23[Inject] 26[Inject]
Components\Controls\StructuredLogDetails.razor.cs (1)
15[Inject]
Components\Controls\SummaryDetailsView.razor.cs (4)
58[Inject] 61[Inject] 64[Inject] 67[Inject]
Components\Controls\TraceActions.razor.cs (2)
20[Inject] 23[Inject]
Components\Controls\TreeMetricSelector.razor.cs (1)
22[Inject]
Components\Controls\UserProfile.razor.cs (3)
17[Inject] 20[Inject] 23[Inject]
Components\Dialogs\ExemplarsDialog.razor.cs (4)
21[Inject] 24[Inject] 27[Inject] 30[Inject]
Components\Dialogs\FilterDialog.razor.cs (1)
26[Inject]
Components\Dialogs\SettingsDialog.razor.cs (1)
16[Inject]
Components\Dialogs\TextVisualizerDialog.razor.cs (2)
49[Inject] 52[Inject]
Components\Layout\AspirePageContentLayout.razor.cs (1)
48[Inject]
Components\Layout\MainLayout.razor.cs (12)
33[Inject] 36[Inject] 39[Inject] 42[Inject] 45[Inject] 48[Inject] 51[Inject] 54[Inject] 57[Inject] 60[Inject] 63[Inject] 66[Inject]
Components\Layout\MobileNavMenu.razor.cs (4)
17[Inject] 20[Inject] 23[Inject] 26[Inject]
Components\Pages\ConsoleLogs.razor.cs (7)
40[Inject] 43[Inject] 46[Inject] 49[Inject] 52[Inject] 55[Inject] 58[Inject]
Components\Pages\Login.razor.cs (3)
23[Inject] 26[Inject] 29[Inject]
Components\Pages\Metrics.razor.cs (4)
53[Inject] 56[Inject] 59[Inject] 62[Inject]
Components\Pages\Resources.razor.cs (7)
32[Inject] 34[Inject] 36[Inject] 38[Inject] 40[Inject] 42[Inject] 44[Inject]
Components\Pages\StructuredLogs.razor.cs (10)
52[Inject] 55[Inject] 58[Inject] 61[Inject] 64[Inject] 67[Inject] 70[Inject] 73[Inject] 76[Inject] 79[Inject]
Components\Pages\TraceDetail.razor.cs (5)
43[Inject] 46[Inject] 49[Inject] 52[Inject] 55[Inject]
Components\Pages\Traces.razor.cs (10)
51[Inject] 54[Inject] 57[Inject] 60[Inject] 63[Inject] 66[Inject] 69[Inject] 72[Inject] 75[Inject] 78[Inject]
Components\Resize\BrowserDimensionWatcher.cs (2)
17[Inject] 20[Inject]
Components\Resize\GridColumnManager.razor.cs (1)
16[Inject]
Components\ResourcesGridColumns\EndpointsColumnDisplay.razor.cs (1)
25[Inject]
Components\ResourcesGridColumns\StateColumnDisplay.razor.cs (1)
20[Inject]
Components\ResourcesGridColumns\UnreadLogErrorsBadge.razor.cs (1)
21[Inject]
Microsoft.AspNetCore.Components (7)
OwningComponentBase.cs (1)
21[Inject] IServiceScopeFactory ScopeFactory { get; set; } = default!;
RouteView.cs (1)
31[Inject]
Routing\Router.cs (5)
42[Inject] private NavigationManager NavigationManager { get; set; } 44[Inject] private INavigationInterception NavigationInterception { get; set; } 46[Inject] private IScrollToLocationHash ScrollToLocationHash { get; set; } 48[Inject] private ILoggerFactory LoggerFactory { get; set; } 50[Inject] IServiceProvider ServiceProvider { get; set; }
Microsoft.AspNetCore.Components.Authorization (2)
AuthorizeViewCore.cs (2)
46[Inject] private IAuthorizationPolicyProvider AuthorizationPolicyProvider { get; set; } = default!; 48[Inject] private IAuthorizationService AuthorizationService { get; set; } = default!;
Microsoft.AspNetCore.Components.Endpoints.Tests (3)
EndpointHtmlRendererTest.cs (3)
1592[Inject] public PersistentComponentState State { get; set; } 1689[Inject] NavigationManager NavigationManager { get; set; } 1707[Inject] IJSRuntime JsRuntime { get; set; }
Microsoft.AspNetCore.Components.Forms (1)
DataAnnotationsValidator.cs (1)
16[Inject] private IServiceProvider ServiceProvider { get; set; } = default!;
Microsoft.AspNetCore.Components.QuickGrid (2)
QuickGrid.razor.cs (2)
107[Inject] private IServiceProvider Services { get; set; } = default!; 108[Inject] private IJSRuntime JS { get; set; } = default!;
Microsoft.AspNetCore.Components.Tests (19)
ComponentFactoryTest.cs (8)
279[Inject] 282[Inject] 285[Inject] 288[Inject] 291[Inject(Key = KeyedServiceKey)] 309[Inject] 336[Inject] 354[Inject]
DependencyInjectionTest.cs (11)
175[Inject] public static IMyService StaticPropertyWithInject { get; set; } 181[Inject] public IMyService MyService { get; } 186[Inject] public IMyService MyService { get; set; } 193[Inject(Key = ServiceKey)] public IMyService MyService { get; set; } 198[Inject] private IMyService MyService { get; set; } 209[Inject] public IMyService PublicReadWrite { get; set; } 210[Inject] public IMyService PublicReadOnly { get; private set; } 211[Inject] private IMyService Private { get; set; } 212[Inject] public IMyOtherService DifferentServiceType { get; set; } 213[Inject] public MyConcreteService ConcreteServiceType { get; set; } 214[Inject(Key = ServiceKey)] public IMyService KeyedService { get; set; }
Microsoft.AspNetCore.Components.Web (10)
Forms\AntiforgeryToken.cs (1)
18[Inject] IServiceProvider Services { get; set; } = default!;
Forms\InputFile.cs (1)
19[Inject]
Forms\Mapping\FormMappingScope.cs (1)
29[Inject] internal IFormValueMapper? FormValueModelBinder { get; set; } // Nonnull only on platforms that support HTTP form posts
Head\HeadOutlet.cs (1)
22[Inject]
Routing\FocusOnNavigate.cs (1)
21[Inject] private IJSRuntime JSRuntime { get; set; } = default!;
Routing\NavigationLock.cs (2)
23[Inject] 26[Inject]
Routing\NavLink.cs (1)
53[Inject] private NavigationManager NavigationManager { get; set; } = default!;
Virtualization\Virtualize.cs (1)
62[Inject]
Web\ErrorBoundary.cs (1)
13[Inject] private IErrorBoundaryLogger? ErrorBoundaryLogger { get; set; }
Microsoft.AspNetCore.Components.Web.Tests (4)
HtmlRendering\HtmlRendererTest.cs (4)
741[Inject] 1299[Inject] 1318[Inject] 1339[Inject]
Microsoft.AspNetCore.Components.WebView.Test (2)
WebViewManagerTests.cs (2)
127[Inject] public ScopedService MyScopedService { get; set; } 151[Inject] public AsyncDisposableService MyAsyncDisposableService { get; set; }
2 references to InjectAttribute
Microsoft.AspNetCore.Components (2)
ComponentFactory.cs (2)
106var injectAttribute = property.GetCustomAttribute<InjectAttribute>();