GaugeAttribute<T> Constructors

Definitie

Overloads

Name Description
GaugeAttribute<T>(String[])

Initialiseert een nieuw exemplaar van de GaugeAttribute<T> klasse.

GaugeAttribute<T>(Type)

Initialiseert een nieuw exemplaar van de GaugeAttribute<T> klasse.

GaugeAttribute<T>(String[])

Bron:
GaugeAttributeT.cs

Initialiseert een nieuw exemplaar van de GaugeAttribute<T> klasse.

public:
 GaugeAttribute(... cli::array <System::String ^> ^ tagNames);
public GaugeAttribute(params string[] tagNames);
new Microsoft.Extensions.Diagnostics.Metrics.GaugeAttribute<'T (requires 'T : struct)> : string[] -> Microsoft.Extensions.Diagnostics.Metrics.GaugeAttribute<'T (requires 'T : struct)>
Public Sub New (ParamArray tagNames As String())

Parameters

tagNames
String[]

Variabele matrix van tagnamen.

Van toepassing op

GaugeAttribute<T>(Type)

Bron:
GaugeAttributeT.cs

Initialiseert een nieuw exemplaar van de GaugeAttribute<T> klasse.

public:
 GaugeAttribute(Type ^ type);
public GaugeAttribute(Type type);
new Microsoft.Extensions.Diagnostics.Metrics.GaugeAttribute<'T (requires 'T : struct)> : Type -> Microsoft.Extensions.Diagnostics.Metrics.GaugeAttribute<'T (requires 'T : struct)>
Public Sub New (type As Type)

Parameters

type
Type

Een type dat de namen van de metrische tags aanlevert. De tagwaarden worden opgehaald uit de openbare velden en eigenschappen van het type.

Van toepassing op