C# Class TheNewEngine.Infrastructure.BrewedForce.CallListItem

A single item in the call list of Test_Class. Holds information about the type, the instance, optional parameters, an optional exception and the tested method itself.
Implements the Immutable pattern.
ファイルを表示 Open project: Christof/afterglow

Public Methods

Method Description
CallListItem ( Type callingType, object callingInstance, MethodInfo callingMethod ) : System
CallListItem ( Type callingType, object callingInstance, MethodInfo callingMethod, Exception exception ) : System
CallListItem ( Type callingType, object callingInstance, MethodInfo callingMethod, object parameterValues ) : System
CallListItem ( Type callingType, object callingInstance, MethodInfo callingMethod, object parameterValues, Exception exception ) : System
GetCallTextInfo ( object instance, MethodInfo methodInfo, object parameterValues ) : string
GetInstanceTextInfo ( object instance ) : string
GetParameterTextInfo ( object instance, ParameterInfo parameterInfo ) : string
ToString ( ) : string

Method Details

CallListItem() public method

public CallListItem ( Type callingType, object callingInstance, MethodInfo callingMethod ) : System
callingType System.Type
callingInstance object
callingMethod System.Reflection.MethodInfo
return System

CallListItem() public method

public CallListItem ( Type callingType, object callingInstance, MethodInfo callingMethod, Exception exception ) : System
callingType System.Type
callingInstance object
callingMethod System.Reflection.MethodInfo
exception System.Exception
return System

CallListItem() public method

public CallListItem ( Type callingType, object callingInstance, MethodInfo callingMethod, object parameterValues ) : System
callingType System.Type
callingInstance object
callingMethod System.Reflection.MethodInfo
parameterValues object
return System

CallListItem() public method

public CallListItem ( Type callingType, object callingInstance, MethodInfo callingMethod, object parameterValues, Exception exception ) : System
callingType System.Type
callingInstance object
callingMethod System.Reflection.MethodInfo
parameterValues object
exception System.Exception
return System

GetCallTextInfo() public static method

public static GetCallTextInfo ( object instance, MethodInfo methodInfo, object parameterValues ) : string
instance object
methodInfo System.Reflection.MethodInfo
parameterValues object
return string

GetInstanceTextInfo() public static method

public static GetInstanceTextInfo ( object instance ) : string
instance object
return string

GetParameterTextInfo() public static method

public static GetParameterTextInfo ( object instance, ParameterInfo parameterInfo ) : string
instance object
parameterInfo System.Reflection.ParameterInfo
return string

ToString() public method

public ToString ( ) : string
return string