Skip to content

M_Ifp_Validation_IValidationSummaryPresentationService_ShowValidationSummary_1

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

IValidationSummaryPresentationService.ShowValidationSummary Method (ValidationSummary, Boolean)

Presents the outcome of a validation to the user if showOnlyOnFailures is false or if the Severity is Information, Warning or Error.

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

Syntax

C#

bool ShowValidationSummary(
	ValidationSummary validationSummary,
	bool showOnlyOnFailures
)

VB

Function ShowValidationSummary ( 
	validationSummary As ValidationSummary,
	showOnlyOnFailures As Boolean
) As Boolean

C++

bool ShowValidationSummary(
	ValidationSummary^ validationSummary, 
	bool showOnlyOnFailures
)

F#

abstract ShowValidationSummary : 
        validationSummary : ValidationSummary * 
        showOnlyOnFailures : bool -> bool 

Parameters

 

validationSummary
Type: Ifp.Validation.ValidationSummary
The ValidationSummary to present. A ValidationSummary is usually created by a Validator(T).
showOnlyOnFailures
Type: System.Boolean
if false the dialog will be shown in any case. If true the dialog will be shown in case of a Severity has IsAnError set to true. This is the case by all severities except Success.

Return Value

Type: Boolean
Returns true if the user want's to proceed or if there were no errors.

See Also

Reference

IValidationSummaryPresentationService Interface
ShowValidationSummary Overload
Ifp.Validation Namespace

Clone this wiki locally