File: Model\MetricMethod.cs
Web Access
Project: src\src\Generators\Microsoft.Gen.Metrics\Microsoft.Gen.Metrics.csproj (Microsoft.Gen.Metrics)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using System.Collections.Generic;
 
namespace Microsoft.Gen.Metrics.Model;
 
internal sealed class MetricMethod
{
    public readonly List<MetricParameter> AllParameters = [];
    public HashSet<string> TagKeys = [];
    public Dictionary<string, string> TagDescriptionDictionary = [];
    public string? Name;
    public string? MetricName;
    public string? XmlDefinition;
    public bool IsExtensionMethod;
    public string Modifiers = string.Empty;
    public string MetricTypeModifiers = string.Empty;
    public string MetricTypeName = string.Empty;
    public InstrumentKind InstrumentKind;
    public string GenericType = string.Empty;
    public List<StrongTypeConfig> StrongTypeConfigs = []; // Used for strong type creation only
    public string? StrongTypeObjectName; // Used for strong type creation only
    public bool IsTagTypeClass; // Used for strong type creation only
}