Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​Diagnostics.​Metrics.​MeterFactoryExtensions

Assembly: System.Diagnostics.DiagnosticSource

Inheritance: object → MeterFactoryExtensions

Extension methods for <see cref="T:System.Diagnostics.Metrics.Meter" /> and <see cref="T:System.Diagnostics.Metrics.IMeterFactory" /> .

Methods

public static Meter
Create​(IMeterFactory meterFactory, string name, string version = null, Collections.​Generic.​IEnumerable?<​Collections.​Generic.​KeyValuePair<​string, object>> tags = null)
Creates a <see cref="T:System.Diagnostics.Metrics.Meter" /> with the specified <paramref name="name" /> , <paramref name="version" /> , and <paramref name="tags" /> .
Returns A <see cref="T:System.Diagnostics.Metrics.Meter" /> with the specified <paramref name="name" /> , <paramref name="version" /> , and <paramref name="tags" /> .
meterFactory The <see cref="T:System.Diagnostics.Metrics.IMeterFactory" /> to use to create the <see cref="T:System.Diagnostics.Metrics.Meter" /> .
name The name of the <see cref="T:System.Diagnostics.Metrics.Meter" /> .
version The version of the <see cref="T:System.Diagnostics.Metrics.Meter" /> .
tags The tags to associate with the <see cref="T:System.Diagnostics.Metrics.Meter" /> .
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object