C# Class Cone.Runners.ExpectedTestResult

显示文件 Open project: drunkcod/Cone Class Usage Examples

Public Properties

Property Type Description
None ExpectedTestResult

Public Methods

Method Description
Exception ( Type exceptionType, bool allowDerived ) : ExpectedTestResult
Matches ( object obj ) : bool
ToString ( ) : string
Value ( object value ) : ExpectedTestResult

Private Methods

Method Description
ExpectedTestResult ( ExpectedTestResultType resultType, object value ) : System

Method Details

Exception() public static method

public static Exception ( Type exceptionType, bool allowDerived ) : ExpectedTestResult
exceptionType System.Type
allowDerived bool
return ExpectedTestResult

Matches() public method

public Matches ( object obj ) : bool
obj object
return bool

ToString() public method

public ToString ( ) : string
return string

Value() public static method

public static Value ( object value ) : ExpectedTestResult
value object
return ExpectedTestResult

Property Details

None public_oe static_oe property

public static ExpectedTestResult,Cone.Runners None
return ExpectedTestResult