C# Class Braintree.ValidationErrors

A collection of Validation Errors returned by the Braintree Gateway
Afficher le fichier Open project: braintree/braintree_dotnet Class Usage Examples

Méthodes publiques

Méthode Description
AddError ( string fieldName, ValidationError error ) : void
AddErrors ( string objectName, ValidationErrors errors ) : void
All ( ) : List
ByFormField ( ) : List>.Dictionary
DeepAll ( ) : List
ForIndex ( int index ) : ValidationErrors
ForObject ( string objectName ) : ValidationErrors
OnField ( string fieldName ) : List
ValidationErrors ( ) : System.Collections.Generic
ValidationErrors ( Braintree.NodeWrapper node ) : System.Collections.Generic

Méthodes protégées

Méthode Description
ComposeFieldName ( string prefix, string element ) : string

Private Methods

Méthode Description
PopulateErrors ( Braintree.NodeWrapper node ) : void
PopulateTopLevelErrors ( List childErrors ) : void

Method Details

AddError() public méthode

public AddError ( string fieldName, ValidationError error ) : void
fieldName string
error ValidationError
Résultat void

AddErrors() public méthode

public AddErrors ( string objectName, ValidationErrors errors ) : void
objectName string
errors ValidationErrors
Résultat void

All() public méthode

public All ( ) : List
Résultat List

ByFormField() public méthode

public ByFormField ( ) : List>.Dictionary
Résultat List>.Dictionary

ComposeFieldName() protected méthode

protected ComposeFieldName ( string prefix, string element ) : string
prefix string
element string
Résultat string

DeepAll() public méthode

public DeepAll ( ) : List
Résultat List

ForIndex() public méthode

public ForIndex ( int index ) : ValidationErrors
index int
Résultat ValidationErrors

ForObject() public méthode

public ForObject ( string objectName ) : ValidationErrors
objectName string
Résultat ValidationErrors

OnField() public méthode

public OnField ( string fieldName ) : List
fieldName string
Résultat List

ValidationErrors() public méthode

public ValidationErrors ( ) : System.Collections.Generic
Résultat System.Collections.Generic

ValidationErrors() public méthode

public ValidationErrors ( Braintree.NodeWrapper node ) : System.Collections.Generic
node Braintree.NodeWrapper
Résultat System.Collections.Generic