Condividi tramite


Option<T>.DefaultValueFactory Proprietà

Definizione

Ottiene o imposta il delegato da richiamare per creare il valore predefinito.

public:
 property Func<System::CommandLine::Parsing::ArgumentResult ^, T> ^ DefaultValueFactory { Func<System::CommandLine::Parsing::ArgumentResult ^, T> ^ get(); void set(Func<System::CommandLine::Parsing::ArgumentResult ^, T> ^ value); };
public Func<System.CommandLine.Parsing.ArgumentResult,T>? DefaultValueFactory { get; set; }
member this.DefaultValueFactory : Func<System.CommandLine.Parsing.ArgumentResult, 'T> with get, set
Public Property DefaultValueFactory As Func(Of ArgumentResult, T)

Valore della proprietà

Si applica a