Bagikan melalui


Measurement<T> Konstruktor

Definisi

Overload

Measurement<T>(T)

Menginisialisasi instans baru menggunakan Measurement<T> nilai yang ditentukan.

Measurement<T>(T, IEnumerable<KeyValuePair<String,Object>>)

Menginisialisasi instans baru menggunakan Measurement<T> nilai dan daftar tag yang ditentukan.

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

Menginisialisasi instans baru menggunakan Measurement<T> nilai dan daftar tag yang ditentukan.

Measurement<T>(T, TagList)
Measurement<T>(T, ReadOnlySpan<KeyValuePair<String,Object>>)

Menginisialisasi instans baru menggunakan Measurement<T> nilai dan daftar tag yang ditentukan.

Measurement<T>(T)

Sumber:
Measurement.cs
Sumber:
Measurement.cs
Sumber:
Measurement.cs

Menginisialisasi instans baru menggunakan Measurement<T> nilai yang ditentukan.

public:
 Measurement(T value);
public Measurement (T value);
new System.Diagnostics.Metrics.Measurement<'T (requires 'T : struct)> : 'T -> System.Diagnostics.Metrics.Measurement<'T (requires 'T : struct)>
Public Sub New (value As T)

Parameter

value
T

Nilai pengukuran.

Berlaku untuk

Measurement<T>(T, IEnumerable<KeyValuePair<String,Object>>)

Sumber:
Measurement.cs
Sumber:
Measurement.cs
Sumber:
Measurement.cs

Menginisialisasi instans baru menggunakan Measurement<T> nilai dan daftar tag yang ditentukan.

public:
 Measurement(T value, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>> ^ tags);
public Measurement (T value, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object?>>? tags);
new System.Diagnostics.Metrics.Measurement<'T (requires 'T : struct)> : 'T * seq<System.Collections.Generic.KeyValuePair<string, obj>> -> System.Diagnostics.Metrics.Measurement<'T (requires 'T : struct)>
Public Sub New (value As T, tags As IEnumerable(Of KeyValuePair(Of String, Object)))

Parameter

value
T

Nilai pengukuran.

tags
IEnumerable<KeyValuePair<String,Object>>

Daftar tag yang terkait dengan pengukuran.

Berlaku untuk

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

Sumber:
Measurement.cs
Sumber:
Measurement.cs
Sumber:
Measurement.cs

Menginisialisasi instans baru menggunakan Measurement<T> nilai dan daftar tag yang ditentukan.

public:
 Measurement(T value, ... cli::array <System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>> ^ tags);
public Measurement (T value, params System.Collections.Generic.KeyValuePair<string,object>[]? tags);
new System.Diagnostics.Metrics.Measurement<'T (requires 'T : struct)> : 'T * System.Collections.Generic.KeyValuePair<string, obj>[] -> System.Diagnostics.Metrics.Measurement<'T (requires 'T : struct)>
Public Sub New (value As T, ParamArray tags As KeyValuePair(Of String, Object)())

Parameter

value
T

Nilai pengukuran.

tags
KeyValuePair<String,Object>[]

Daftar tag yang terkait dengan pengukuran.

Berlaku untuk

Measurement<T>(T, TagList)

public:
 Measurement(T value, System::Diagnostics::TagList % tags);
public Measurement (T value, in System.Diagnostics.TagList tags);
new System.Diagnostics.Metrics.Measurement<'T (requires 'T : struct)> : 'T * TagList -> System.Diagnostics.Metrics.Measurement<'T (requires 'T : struct)>
Public Sub New (value As T, ByRef tags As TagList)

Parameter

value
T
tags
TagList

Berlaku untuk

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

Sumber:
Measurement.cs
Sumber:
Measurement.cs
Sumber:
Measurement.cs

Menginisialisasi instans baru menggunakan Measurement<T> nilai dan daftar tag yang ditentukan.

public:
 Measurement(T value, ReadOnlySpan<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>> tags);
public Measurement (T value, ReadOnlySpan<System.Collections.Generic.KeyValuePair<string,object?>> tags);
public Measurement (T value, scoped ReadOnlySpan<System.Collections.Generic.KeyValuePair<string,object?>> tags);
new System.Diagnostics.Metrics.Measurement<'T (requires 'T : struct)> : 'T * ReadOnlySpan<System.Collections.Generic.KeyValuePair<string, obj>> -> System.Diagnostics.Metrics.Measurement<'T (requires 'T : struct)>
Public Sub New (value As T, tags As ReadOnlySpan(Of KeyValuePair(Of String, Object)))

Parameter

value
T

Nilai pengukuran.

tags
ReadOnlySpan<KeyValuePair<String,Object>>

Daftar tag yang terkait dengan pengukuran.

Berlaku untuk