ValidateOptions<TOptions,TDep1,TDep2,TDep3,TDep4,TDep5> Costruttore
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Costruttore.
public:
ValidateOptions(System::String ^ name, TDep1 dependency1, TDep2 dependency2, TDep3 dependency3, TDep4 dependency4, TDep5 dependency5, Func<TOptions, TDep1, TDep2, TDep3, TDep4, TDep5, bool> ^ validation, System::String ^ failureMessage);
public ValidateOptions (string name, TDep1 dependency1, TDep2 dependency2, TDep3 dependency3, TDep4 dependency4, TDep5 dependency5, Func<TOptions,TDep1,TDep2,TDep3,TDep4,TDep5,bool> validation, string failureMessage);
public ValidateOptions (string? name, TDep1 dependency1, TDep2 dependency2, TDep3 dependency3, TDep4 dependency4, TDep5 dependency5, Func<TOptions,TDep1,TDep2,TDep3,TDep4,TDep5,bool> validation, string failureMessage);
new Microsoft.Extensions.Options.ValidateOptions<'Options, 'TDep1, 'TDep2, 'TDep3, 'TDep4, 'TDep5 (requires 'Options : null)> : string * 'TDep1 * 'TDep2 * 'TDep3 * 'TDep4 * 'TDep5 * Func<'Options, 'TDep1, 'TDep2, 'TDep3, 'TDep4, 'TDep5, bool (requires 'Options : null)> * string -> Microsoft.Extensions.Options.ValidateOptions<'Options, 'TDep1, 'TDep2, 'TDep3, 'TDep4, 'TDep5 (requires 'Options : null)>
Public Sub New (name As String, dependency1 As TDep1, dependency2 As TDep2, dependency3 As TDep3, dependency4 As TDep4, dependency5 As TDep5, validation As Func(Of TOptions, TDep1, TDep2, TDep3, TDep4, TDep5, Boolean), failureMessage As String)
Parametri
- name
- String
Nome delle opzioni.
- dependency1
- TDep1
Prima dipendenza.
- dependency2
- TDep2
Seconda dipendenza.
- dependency3
- TDep3
Terza dipendenza.
- dependency4
- TDep4
Quarta dipendenza.
- dependency5
- TDep5
Quinta dipendenza.
- failureMessage
- String
Messaggio di errore di convalida.