C# Class Dev2.DataList.Contract.ErrorResultTO

Inheritance: IErrorResultTO
Afficher le fichier Open project: Warewolf-ESB/Warewolf Class Usage Examples

Méthodes publiques

Méthode Description
AddError ( string msg, bool checkForDuplicates = false ) : void

Adds the error.

ClearErrors ( ) : void
FetchErrors ( ) : IList

Fetches the errors.

HasErrors ( ) : bool

Determines whether this instance has errors.

MakeDataListReady ( bool AsXML = true ) : string

Makes the error collection data list insert ready.

MakeDisplayReady ( ) : string

Makes the error collection user ready.

MakeErrorResultFromDataListString ( string errorsString ) : ErrorResultTO

Makes ErrorResultTO from a error string from the data list.

MakeUserReady ( ) : string

Makes the error collection user ready.

MergeErrors ( ErrorResultTO toMerge ) : void

Merges the errors.

MergeErrors ( IErrorResultTO toMerge ) : void

Merges the errors.

RemoveError ( string msg ) : void

Remove the error from the list

Private Methods

Méthode Description
FormatErrorMessage ( string s ) : string

Method Details

AddError() public méthode

Adds the error.
public AddError ( string msg, bool checkForDuplicates = false ) : void
msg string The MSG.
checkForDuplicates bool
Résultat void

ClearErrors() public méthode

public ClearErrors ( ) : void
Résultat void

FetchErrors() public méthode

Fetches the errors.
public FetchErrors ( ) : IList
Résultat IList

HasErrors() public méthode

Determines whether this instance has errors.
public HasErrors ( ) : bool
Résultat bool

MakeDataListReady() public méthode

Makes the error collection data list insert ready.
public MakeDataListReady ( bool AsXML = true ) : string
AsXML bool
Résultat string

MakeDisplayReady() public méthode

Makes the error collection user ready.
public MakeDisplayReady ( ) : string
Résultat string

MakeErrorResultFromDataListString() public static méthode

Makes ErrorResultTO from a error string from the data list.
public static MakeErrorResultFromDataListString ( string errorsString ) : ErrorResultTO
errorsString string Error string to convert
Résultat ErrorResultTO

MakeUserReady() public méthode

Makes the error collection user ready.
public MakeUserReady ( ) : string
Résultat string

MergeErrors() public méthode

Merges the errors.
public MergeErrors ( ErrorResultTO toMerge ) : void
toMerge ErrorResultTO To merge.
Résultat void

MergeErrors() public méthode

Merges the errors.
public MergeErrors ( IErrorResultTO toMerge ) : void
toMerge IErrorResultTO To merge.
Résultat void

RemoveError() public méthode

Remove the error from the list
public RemoveError ( string msg ) : void
msg string
Résultat void