C# Класс Dev2.DataList.Contract.ErrorResultTO

Наследование: IErrorResultTO
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
FormatErrorMessage ( string s ) : string

Описание методов

AddError() публичный Метод

Adds the error.
public AddError ( string msg, bool checkForDuplicates = false ) : void
msg string The MSG.
checkForDuplicates bool
Результат void

ClearErrors() публичный Метод

public ClearErrors ( ) : void
Результат void

FetchErrors() публичный Метод

Fetches the errors.
public FetchErrors ( ) : IList
Результат IList

HasErrors() публичный Метод

Determines whether this instance has errors.
public HasErrors ( ) : bool
Результат bool

MakeDataListReady() публичный Метод

Makes the error collection data list insert ready.
public MakeDataListReady ( bool AsXML = true ) : string
AsXML bool
Результат string

MakeDisplayReady() публичный Метод

Makes the error collection user ready.
public MakeDisplayReady ( ) : string
Результат string

MakeErrorResultFromDataListString() публичный статический Метод

Makes ErrorResultTO from a error string from the data list.
public static MakeErrorResultFromDataListString ( string errorsString ) : ErrorResultTO
errorsString string Error string to convert
Результат ErrorResultTO

MakeUserReady() публичный Метод

Makes the error collection user ready.
public MakeUserReady ( ) : string
Результат string

MergeErrors() публичный Метод

Merges the errors.
public MergeErrors ( ErrorResultTO toMerge ) : void
toMerge ErrorResultTO To merge.
Результат void

MergeErrors() публичный Метод

Merges the errors.
public MergeErrors ( IErrorResultTO toMerge ) : void
toMerge IErrorResultTO To merge.
Результат void

RemoveError() публичный Метод

Remove the error from the list
public RemoveError ( string msg ) : void
msg string
Результат void