Share via


ValidateOptionsResultBuilder.AddResult Method

Definition

Overloads

AddResult(ValidateOptionsResult)

Adds any validation errors carried by the ValidateOptionsResult instance to this instance.

AddResult(ValidationResult)

Adds any validation error carried by the ValidationResult instance to this instance.

AddResult(ValidateOptionsResult)

Source:
ValidateOptionsResultBuilder.cs
Source:
ValidateOptionsResultBuilder.cs

Adds any validation errors carried by the ValidateOptionsResult instance to this instance.

public:
 void AddResult(Microsoft::Extensions::Options::ValidateOptionsResult ^ result);
public void AddResult (Microsoft.Extensions.Options.ValidateOptionsResult result);
member this.AddResult : Microsoft.Extensions.Options.ValidateOptionsResult -> unit
Public Sub AddResult (result As ValidateOptionsResult)

Parameters

result
ValidateOptionsResult

The instance to consume the errors from.

Applies to

AddResult(ValidationResult)

Source:
ValidateOptionsResultBuilder.cs
Source:
ValidateOptionsResultBuilder.cs

Adds any validation error carried by the ValidationResult instance to this instance.

public:
 void AddResult(System::ComponentModel::DataAnnotations::ValidationResult ^ result);
public void AddResult (System.ComponentModel.DataAnnotations.ValidationResult? result);
member this.AddResult : System.ComponentModel.DataAnnotations.ValidationResult -> unit
Public Sub AddResult (result As ValidationResult)

Parameters

result
ValidationResult

The instance to append the error from.

Applies to