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.
Afficher le fichier Open project: Christof/afterglow

Méthodes publiques

Méthode 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 méthode

public CallListItem ( Type callingType, object callingInstance, MethodInfo callingMethod ) : System
callingType System.Type
callingInstance object
callingMethod System.Reflection.MethodInfo
Résultat System

CallListItem() public méthode

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

CallListItem() public méthode

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

CallListItem() public méthode

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
Résultat System

GetCallTextInfo() public static méthode

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

GetInstanceTextInfo() public static méthode

public static GetInstanceTextInfo ( object instance ) : string
instance object
Résultat string

GetParameterTextInfo() public static méthode

public static GetParameterTextInfo ( object instance, ParameterInfo parameterInfo ) : string
instance object
parameterInfo System.Reflection.ParameterInfo
Résultat string

ToString() public méthode

public ToString ( ) : string
Résultat string