<PackageReference Include="Microsoft.ApplicationInsights" Version="2.23.0" />

Microsoft.ApplicationInsights.Extensibility.Implementation.External.MetricData

Partial class to add the EventData attribute and any additional customizations to the generated type.
public IList<DataPoint> metrics { get; set; }

public IDictionary<string, string> properties { get; set; }

public int ver { get; set; }

public MetricData()

protected MetricData(string fullName, string name)

public void Serialize(ISerializationWriter serializationWriter)