2 instantiations of MeterOptions
Microsoft.Extensions.Diagnostics.ResourceMonitoring.Tests (1)
Helpers\TestMeterFactory.cs (1)
24return Create(new MeterOptions(name)
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\Metrics\MeterFactoryExtensions.cs (1)
29return meterFactory.Create(new MeterOptions(name)
42 references to MeterOptions
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.HeaderParsing.Tests (1)
HeaderParsingFeatureTests.cs (1)
218meterFactoryMock.Setup(x => x.Create(It.IsAny<MeterOptions>()))
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 (2)
Metrics\DefaultMeterFactory.cs (2)
19public Meter Create(MeterOptions options) 92public FactoryMeter(MeterOptions options) : base(options)
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 (13)
Helpers\TestMeterFactory.cs (1)
14public Meter Create(MeterOptions options)
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>()))
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)
System.Diagnostics.DiagnosticSource (5)
System\Diagnostics\Metrics\IMeterFactory.cs (2)
23/// <param name="options">The <see cref="MeterOptions"/> to use when creating the meter.</param> 28Meter Create(MeterOptions options);
System\Diagnostics\Metrics\Meter.cs (2)
31/// Initialize a new instance of the Meter using the <see cref="MeterOptions" />. 33public Meter(MeterOptions options)
System\Diagnostics\Metrics\MeterOptions.cs (1)
48/// Constructs a new instance of <see cref="MeterOptions"/>.