Skip to content

M_Ifp_Validation_ValidationSummaryBuilderExtensions_ToSummary

Martin Strecker edited this page Mar 9, 2019 · 6 revisions

ValidationSummaryBuilderExtensions.ToSummary Method

Converts a ValidationOutcome to a ValidationSummary.

Namespace: Ifp.Validation
Assembly: Ifp.Validation (in Ifp.Validation.dll) Version: 1.4.0

Syntax

C#

public static ValidationSummary ToSummary(
	this ValidationOutcome validationOutcome
)

VB

<ExtensionAttribute>
Public Shared Function ToSummary ( 
	validationOutcome As ValidationOutcome
) As ValidationSummary

C++

public:
[ExtensionAttribute]
static ValidationSummary^ ToSummary(
	ValidationOutcome^ validationOutcome
)

F#

[<ExtensionAttribute>]
static member ToSummary : 
        validationOutcome : ValidationOutcome -> ValidationSummary 

Parameters

 

validationOutcome
Type: Ifp.Validation.ValidationOutcome
The ValidationOutcome to wrap into a ValidationSummary.

Return Value

Type: ValidationSummary
A ValidationSummary that contains the ValidationOutcome.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ValidationOutcome. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also

Reference

ValidationSummaryBuilderExtensions Class
Ifp.Validation Namespace

Clone this wiki locally