Freigeben über


PexObserve.Value<T>(String, T) Method

Definition

Logs a value for viewing and performs inline validation if the type is supported.

public:
generic <typename T>
 static void Value(System::String ^ name, T value);
public static void Value<T> (string name, T value);
static member Value : string * 'T -> unit
Public Shared Sub Value(Of T) (name As String, value As T)

Type Parameters

T

The value's type.

Parameters

name
String

The value's name.

value
T

A value of type T.

Applies to