C# Class FS.Utils.Common.Result

返回结果情况
Exibir arquivo Open project: FarseerNet/Farseer.Net

Public Methods

Method Description
Add ( bool isTrue, string err ) : bool

添加出错消息

Add ( Dictionary dicError ) : void

添加出错消息

Add ( string err ) : void

添加出错消息

Reset ( ) : void

清除错误消息

Result ( ) : System.Collections.Generic
ToString ( ) : string
ToString ( string sign ) : string

Method Details

Add() public method

添加出错消息
public Add ( bool isTrue, string err ) : bool
isTrue bool 条件为真是,添加错误消息
err string 出错消息
return bool

Add() public method

添加出错消息
public Add ( Dictionary dicError ) : void
dicError Dictionary 出错消息
return void

Add() public method

添加出错消息
public Add ( string err ) : void
err string 出错消息
return void

Reset() public method

清除错误消息
public Reset ( ) : void
return void

Result() public method

public Result ( ) : System.Collections.Generic
return System.Collections.Generic

ToString() public method

public ToString ( ) : string
return string

ToString() public method

public ToString ( string sign ) : string
sign string
return string