CounterAttribute<T> Konstruktory

Definicja

Przeciążenia

CounterAttribute<T>(String[])

Inicjuje nowe wystąpienie klasy CounterAttribute<T>.

CounterAttribute<T>(Type)

Inicjuje nowe wystąpienie klasy CounterAttribute<T>.

CounterAttribute<T>(String[])

Źródło:
CounterAttributeT.cs
Źródło:
CounterAttributeT.cs

Inicjuje nowe wystąpienie klasy CounterAttribute<T>.

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

Parametry

tagNames
String[]

zmienna tablica nazw tagów.

Dotyczy

CounterAttribute<T>(Type)

Źródło:
CounterAttributeT.cs
Źródło:
CounterAttributeT.cs

Inicjuje nowe wystąpienie klasy CounterAttribute<T>.

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

Parametry

type
Type

Typ dostarczający nazwy tagów metryk. Wartości tagów są pobierane z publicznych pól i właściwości typu.

Dotyczy