C# Class Cone.Core.ConeTestNamer

Mostra file Open project: drunkcod/Cone Class Usage Examples

Public Methods

Method Description
GetBaseName ( MethodBase method, string>.Func selectName ) : string
NameFor ( MethodBase method ) : string
NameFor ( MethodInfo method, object parameters ) : string
NameFor ( MethodInfo method, object parameters, FormatString formatString ) : string
TestNameFor ( string context, MethodInfo method, object parameters ) : ITestName

Private Methods

Method Description
DisplayParameters ( ParameterInfo info, object parameters ) : object[]
DisplayParameters ( ParameterInfo parameters ) : string[]
Format ( object obj ) : object
FormatParameters ( object arguments ) : object

Method Details

GetBaseName() public method

public GetBaseName ( MethodBase method, string>.Func selectName ) : string
method System.Reflection.MethodBase
selectName string>.Func
return string

NameFor() public method

public NameFor ( MethodBase method ) : string
method System.Reflection.MethodBase
return string

NameFor() public method

public NameFor ( MethodInfo method, object parameters ) : string
method System.Reflection.MethodInfo
parameters object
return string

NameFor() public method

public NameFor ( MethodInfo method, object parameters, FormatString formatString ) : string
method System.Reflection.MethodInfo
parameters object
formatString FormatString
return string

TestNameFor() public method

public TestNameFor ( string context, MethodInfo method, object parameters ) : ITestName
context string
method System.Reflection.MethodInfo
parameters object
return ITestName