Bagikan melalui


Counter<T>.Add Metode

Definisi

Overload

Add(T)

Merekam nilai kenaikan pengukuran.

Add(T, KeyValuePair<String,Object>)

Merekam nilai kenaikan pengukuran.

Add(T, KeyValuePair<String,Object>[])

Merekam nilai kenaikan pengukuran.

Add(T, TagList)

Menambahkan nilai kenaikan pengukuran.

Add(T, ReadOnlySpan<KeyValuePair<String,Object>>)

Merekam nilai kenaikan pengukuran.

Add(T, KeyValuePair<String,Object>, KeyValuePair<String,Object>)

Merekam nilai kenaikan pengukuran.

Add(T, KeyValuePair<String,Object>, KeyValuePair<String,Object>, KeyValuePair<String,Object>)

Merekam nilai kenaikan pengukuran.

Add(T)

Sumber:
Counter.cs
Sumber:
Counter.cs
Sumber:
Counter.cs

Merekam nilai kenaikan pengukuran.

public:
 void Add(T delta);
public void Add (T delta);
member this.Add : 'T -> unit
Public Sub Add (delta As T)

Parameter

delta
T

Pengukuran kenaikan.

Berlaku untuk

Add(T, KeyValuePair<String,Object>)

Sumber:
Counter.cs
Sumber:
Counter.cs
Sumber:
Counter.cs

Merekam nilai kenaikan pengukuran.

public:
 void Add(T delta, System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> tag);
public void Add (T delta, System.Collections.Generic.KeyValuePair<string,object?> tag);
member this.Add : 'T * System.Collections.Generic.KeyValuePair<string, obj> -> unit
Public Sub Add (delta As T, tag As KeyValuePair(Of String, Object))

Parameter

delta
T

Pengukuran kenaikan.

tag
KeyValuePair<String,Object>

Tag pasangan kunci-nilai yang terkait dengan pengukuran.

Berlaku untuk

Add(T, KeyValuePair<String,Object>[])

Sumber:
Counter.cs
Sumber:
Counter.cs
Sumber:
Counter.cs

Merekam nilai kenaikan pengukuran.

public:
 void Add(T delta, ... cli::array <System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>> ^ tags);
public void Add (T delta, params System.Collections.Generic.KeyValuePair<string,object>[] tags);
member this.Add : 'T * System.Collections.Generic.KeyValuePair<string, obj>[] -> unit
Public Sub Add (delta As T, ParamArray tags As KeyValuePair(Of String, Object)())

Parameter

delta
T

Pengukuran kenaikan.

tags
KeyValuePair<String,Object>[]

Daftar tag pasangan kunci-nilai yang terkait dengan pengukuran.

Berlaku untuk

Add(T, TagList)

Sumber:
Counter.cs
Sumber:
Counter.cs
Sumber:
Counter.cs

Menambahkan nilai kenaikan pengukuran.

public:
 void Add(T delta, System::Diagnostics::TagList % tagList);
public void Add (T delta, in System.Diagnostics.TagList tagList);
member this.Add : 'T * TagList -> unit
Public Sub Add (delta As T, ByRef tagList As TagList)

Parameter

delta
T

Nilai pengukuran.

tagList
TagList

Tag yang terkait dengan pengukuran.

Berlaku untuk

Add(T, ReadOnlySpan<KeyValuePair<String,Object>>)

Sumber:
Counter.cs
Sumber:
Counter.cs
Sumber:
Counter.cs

Merekam nilai kenaikan pengukuran.

public:
 void Add(T delta, ReadOnlySpan<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>> tags);
public void Add (T delta, ReadOnlySpan<System.Collections.Generic.KeyValuePair<string,object?>> tags);
public void Add (T delta, scoped ReadOnlySpan<System.Collections.Generic.KeyValuePair<string,object?>> tags);
member this.Add : 'T * ReadOnlySpan<System.Collections.Generic.KeyValuePair<string, obj>> -> unit
Public Sub Add (delta As T, tags As ReadOnlySpan(Of KeyValuePair(Of String, Object)))

Parameter

delta
T

Pengukuran kenaikan.

tags
ReadOnlySpan<KeyValuePair<String,Object>>

Rentang tag pasangan kunci-nilai yang terkait dengan pengukuran.

Berlaku untuk

Add(T, KeyValuePair<String,Object>, KeyValuePair<String,Object>)

Sumber:
Counter.cs
Sumber:
Counter.cs
Sumber:
Counter.cs

Merekam nilai kenaikan pengukuran.

public:
 void Add(T delta, System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> tag1, System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> tag2);
public void Add (T delta, System.Collections.Generic.KeyValuePair<string,object?> tag1, System.Collections.Generic.KeyValuePair<string,object?> tag2);
member this.Add : 'T * System.Collections.Generic.KeyValuePair<string, obj> * System.Collections.Generic.KeyValuePair<string, obj> -> unit
Public Sub Add (delta As T, tag1 As KeyValuePair(Of String, Object), tag2 As KeyValuePair(Of String, Object))

Parameter

delta
T

Pengukuran kenaikan.

tag1
KeyValuePair<String,Object>

Tag pasangan kunci-nilai pertama yang terkait dengan pengukuran.

tag2
KeyValuePair<String,Object>

Tag pasangan kunci-nilai kedua yang terkait dengan pengukuran.

Berlaku untuk

Add(T, KeyValuePair<String,Object>, KeyValuePair<String,Object>, KeyValuePair<String,Object>)

Sumber:
Counter.cs
Sumber:
Counter.cs
Sumber:
Counter.cs

Merekam nilai kenaikan pengukuran.

public:
 void Add(T delta, System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> tag1, System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> tag2, System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^> tag3);
public void Add (T delta, System.Collections.Generic.KeyValuePair<string,object?> tag1, System.Collections.Generic.KeyValuePair<string,object?> tag2, System.Collections.Generic.KeyValuePair<string,object?> tag3);
member this.Add : 'T * System.Collections.Generic.KeyValuePair<string, obj> * System.Collections.Generic.KeyValuePair<string, obj> * System.Collections.Generic.KeyValuePair<string, obj> -> unit
Public Sub Add (delta As T, tag1 As KeyValuePair(Of String, Object), tag2 As KeyValuePair(Of String, Object), tag3 As KeyValuePair(Of String, Object))

Parameter

delta
T

Pengukuran kenaikan.

tag1
KeyValuePair<String,Object>

Tag pasangan kunci-nilai pertama yang terkait dengan pengukuran.

tag2
KeyValuePair<String,Object>

Tag pasangan kunci-nilai kedua yang terkait dengan pengukuran.

tag3
KeyValuePair<String,Object>

Tag pasangan kunci-nilai ketiga yang terkait dengan pengukuran.

Berlaku untuk