19 implementations of Create
InMemory.FunctionalTests (1)
src\Shared\Metrics\TestMeterFactory.cs (1)
13public Meter Create(MeterOptions options)
Interop.FunctionalTests (1)
src\Shared\Metrics\TestMeterFactory.cs (1)
13public Meter Create(MeterOptions options)
Microsoft.AspNetCore.Authentication.Test (1)
src\Shared\Metrics\TestMeterFactory.cs (1)
13public Meter Create(MeterOptions options)
Microsoft.AspNetCore.Authorization.Test (1)
src\Shared\Metrics\TestMeterFactory.cs (1)
13public Meter Create(MeterOptions options)
Microsoft.AspNetCore.Diagnostics (1)
DummyMeterFactory.cs (1)
10public Meter Create(MeterOptions options) => new Meter(options);
Microsoft.AspNetCore.Diagnostics.Tests (1)
src\Shared\Metrics\TestMeterFactory.cs (1)
13public Meter Create(MeterOptions options)
Microsoft.AspNetCore.Hosting.Tests (1)
src\Shared\Metrics\TestMeterFactory.cs (1)
13public Meter Create(MeterOptions options)
Microsoft.AspNetCore.Http.Connections.Tests (1)
src\Shared\Metrics\TestMeterFactory.cs (1)
13public Meter Create(MeterOptions options)
Microsoft.AspNetCore.RateLimiting.Tests (1)
src\Shared\Metrics\TestMeterFactory.cs (1)
13public Meter Create(MeterOptions options)
Microsoft.AspNetCore.Routing.Microbenchmarks (1)
src\Shared\Metrics\TestMeterFactory.cs (1)
13public Meter Create(MeterOptions options)
Microsoft.AspNetCore.Routing.Tests (1)
src\Shared\Metrics\TestMeterFactory.cs (1)
13public Meter Create(MeterOptions options)
Microsoft.AspNetCore.Server.Kestrel.Core (1)
KestrelServer.cs (1)
73public Meter Create(MeterOptions options) => new Meter(options);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
src\Shared\Metrics\TestMeterFactory.cs (1)
13public Meter Create(MeterOptions options)
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (1)
src\Shared\Metrics\TestMeterFactory.cs (1)
13public Meter Create(MeterOptions options)
Microsoft.AspNetCore.Server.Kestrel.Tests (1)
src\Shared\Metrics\TestMeterFactory.cs (1)
13public Meter Create(MeterOptions options)
Microsoft.Extensions.Diagnostics (1)
Metrics\DefaultMeterFactory.cs (1)
19public Meter Create(MeterOptions options)
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (1)
Helpers\TestMeterFactory.cs (1)
14public Meter Create(MeterOptions options)
Sockets.BindTests (1)
src\Shared\Metrics\TestMeterFactory.cs (1)
13public Meter Create(MeterOptions options)
Sockets.FunctionalTests (1)
src\Shared\Metrics\TestMeterFactory.cs (1)
13public Meter Create(MeterOptions options)
18 references to Create
Microsoft.AspNetCore.HeaderParsing.Tests (1)
HeaderParsingFeatureTests.cs (1)
218meterFactoryMock.Setup(x => x.Create(It.IsAny<MeterOptions>()))
Microsoft.Extensions.Diagnostics.Abstractions (3)
Metrics\InstrumentRule.cs (1)
56/// and those created via Dependency Injection with <see cref="IMeterFactory.Create(MeterOptions)"/> (<see cref="MeterScope.Local"/>).
Metrics\MeterScope.cs (2)
11/// and those created via Dependency Injection with <see cref="IMeterFactory.Create(MeterOptions)"/> (<see cref="Local"/>). 27/// Indicates <see cref="Meter"/> instances created via Dependency Injection with <see cref="IMeterFactory.Create(MeterOptions)"/>.
Microsoft.Extensions.Diagnostics.HealthChecks.Common.Tests (1)
TelemetryHealthChecksPublisherTests.cs (1)
172meterFactoryMock.Setup(x => x.Create(It.IsAny<MeterOptions>()))
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (12)
Linux\LinuxCountersTests.cs (1)
83.Setup(x => x.Create(It.IsAny<MeterOptions>()))
Linux\LinuxUtilizationProviderTests.cs (3)
34meterFactoryMock.Setup(x => x.Create(It.IsAny<MeterOptions>())) 104meterFactoryMock.Setup(x => x.Create(It.IsAny<MeterOptions>())) 172meterFactoryMock.Setup(x => x.Create(It.IsAny<MeterOptions>()))
Windows\WindowsContainerSnapshotProviderTests.cs (3)
44_meterFactory.Setup(x => x.Create(It.IsAny<MeterOptions>())) 217meterFactoryMock.Setup(x => x.Create(It.IsAny<MeterOptions>())) 286meterFactoryMock.Setup(x => x.Create(It.IsAny<MeterOptions>()))
Windows\WindowsCountersTests.cs (2)
32meterFactoryMock.Setup(x => x.Create(It.IsAny<MeterOptions>())) 74meterFactoryMock.Setup(x => x.Create(It.IsAny<MeterOptions>()))
Windows\WindowsSnapshotProviderTests.cs (3)
36_meterFactoryMock.Setup(x => x.Create(It.IsAny<MeterOptions>())) 88meterFactoryMock.Setup(x => x.Create(It.IsAny<MeterOptions>())).Returns(meter); 129meterFactoryMock.Setup(x => x.Create(It.IsAny<MeterOptions>()))
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\Metrics\MeterFactoryExtensions.cs (1)
29return meterFactory.Create(new MeterOptions(name)