Compartir a través de


Measurement<T> Constructores

Definición

Sobrecargas

Measurement<T>(T)

Inicializa una nueva instancia de Measurement<T> utilizando el valor especificado.

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

Inicializa una nueva instancia de Measurement<T> utilizando el valor y la lista de etiquetas especificados.

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

Inicializa una nueva instancia de Measurement<T> utilizando el valor y la lista de etiquetas especificados.

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

Inicializa una nueva instancia de Measurement<T> utilizando el valor y la lista de etiquetas especificados.

Measurement<T>(T)

Source:
Measurement.cs
Source:
Measurement.cs
Source:
Measurement.cs

Inicializa una nueva instancia de Measurement<T> utilizando el valor especificado.

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)

Parámetros

value
T

Valor de medida.

Se aplica a

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

Source:
Measurement.cs
Source:
Measurement.cs
Source:
Measurement.cs

Inicializa una nueva instancia de Measurement<T> utilizando el valor y la lista de etiquetas especificados.

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)))

Parámetros

value
T

Valor de medida.

tags
IEnumerable<KeyValuePair<String,Object>>

Lista de etiquetas asociadas a la medida.

Se aplica a

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

Source:
Measurement.cs
Source:
Measurement.cs
Source:
Measurement.cs

Inicializa una nueva instancia de Measurement<T> utilizando el valor y la lista de etiquetas especificados.

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)())

Parámetros

value
T

Valor de medida.

tags
KeyValuePair<String,Object>[]

Lista de etiquetas asociadas a la medida.

Se aplica a

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)

Parámetros

value
T
tags
TagList

Se aplica a

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

Source:
Measurement.cs
Source:
Measurement.cs
Source:
Measurement.cs

Inicializa una nueva instancia de Measurement<T> utilizando el valor y la lista de etiquetas especificados.

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)))

Parámetros

value
T

Valor de medida.

tags
ReadOnlySpan<KeyValuePair<String,Object>>

Lista de etiquetas asociadas a la medida.

Se aplica a