C# Class Cone.Expectations.MethodExpect

Inheritance: IExpect
ファイルを表示 Open project: drunkcod/Cone

Protected Properties

Property Type Description
arguments object[]

Public Methods

Method Description
Check ( ) : CheckResult
FormatActual ( IFormatter formatter ) : string
FormatExpected ( IFormatter formatter ) : string
FormatExpression ( IFormatter formatter ) : string
FormatMessage ( IFormatter formatter ) : string

Protected Methods

Method Description
MethodExpect ( Expression body, MethodInfo method, object arguments ) : System.Linq.Expressions

Method Details

Check() public method

public Check ( ) : CheckResult
return CheckResult

FormatActual() public method

public FormatActual ( IFormatter formatter ) : string
formatter IFormatter
return string

FormatExpected() public method

public FormatExpected ( IFormatter formatter ) : string
formatter IFormatter
return string

FormatExpression() public method

public FormatExpression ( IFormatter formatter ) : string
formatter IFormatter
return string

FormatMessage() public method

public FormatMessage ( IFormatter formatter ) : string
formatter IFormatter
return string

MethodExpect() protected method

protected MethodExpect ( Expression body, MethodInfo method, object arguments ) : System.Linq.Expressions
body System.Linq.Expressions.Expression
method System.Reflection.MethodInfo
arguments object
return System.Linq.Expressions

Property Details

arguments protected_oe property

protected object[] arguments
return object[]