File: Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Metrics.g.cs
Project: ..\..\..\src\Libraries\Microsoft.AspNetCore.HeaderParsing\Microsoft.AspNetCore.HeaderParsing.csproj (Microsoft.AspNetCore.HeaderParsing)

// <auto-generated/>
#nullable enable
 
namespace Microsoft.AspNetCore.HeaderParsing
{
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Gen.Metrics", "10.9.0.0")]
    internal static partial class Metric 
    {
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Gen.Metrics", "10.9.0.0")]
        public static partial global::Microsoft.AspNetCore.HeaderParsing.ParsingErrorCounter CreateParsingErrorCounter(global::System.Diagnostics.Metrics.Meter meter)
            => global::Microsoft.AspNetCore.HeaderParsing.GeneratedInstrumentsFactory.CreateParsingErrorCounter(meter);
 
        [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Gen.Metrics", "10.9.0.0")]
        public static partial global::Microsoft.AspNetCore.HeaderParsing.CacheAccessCounter CreateCacheAccessCounter(global::System.Diagnostics.Metrics.Meter meter)
            => global::Microsoft.AspNetCore.HeaderParsing.GeneratedInstrumentsFactory.CreateCacheAccessCounter(meter);
    }
 
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Gen.Metrics", "10.9.0.0")]
    internal sealed class ParsingErrorCounter
    {
        private readonly global::System.Diagnostics.Metrics.Counter<long> _counter;
 
        public ParsingErrorCounter(global::System.Diagnostics.Metrics.Counter<long> counter)
        {
            _counter = counter;
        }
 
        public void Add(long value, object? aspnetcore_header_parsing_header_name, object? error_type)
        {
            var tagList = new global::System.Diagnostics.TagList
            {
                new global::System.Collections.Generic.KeyValuePair<string, object?>("aspnetcore.header_parsing.header.name", aspnetcore_header_parsing_header_name),
                new global::System.Collections.Generic.KeyValuePair<string, object?>("error.type", error_type),
            };
 
            _counter.Add(value, tagList);
        }
    }
 
    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Gen.Metrics", "10.9.0.0")]
    internal sealed class CacheAccessCounter
    {
        private readonly global::System.Diagnostics.Metrics.Counter<long> _counter;
 
        public CacheAccessCounter(global::System.Diagnostics.Metrics.Counter<long> counter)
        {
            _counter = counter;
        }
 
        public void Add(long value, object? aspnetcore_header_parsing_header_name, object? aspnetcore_header_parsing_cache_access_type)
        {
            var tagList = new global::System.Diagnostics.TagList
            {
                new global::System.Collections.Generic.KeyValuePair<string, object?>("aspnetcore.header_parsing.header.name", aspnetcore_header_parsing_header_name),
                new global::System.Collections.Generic.KeyValuePair<string, object?>("aspnetcore.header_parsing.cache_access.type", aspnetcore_header_parsing_cache_access_type),
            };
 
            _counter.Add(value, tagList);
        }
    }
}