C# Класс 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.
Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

CallListItem() публичный Метод

public CallListItem ( Type callingType, object callingInstance, MethodInfo callingMethod ) : System
callingType System.Type
callingInstance object
callingMethod System.Reflection.MethodInfo
Результат System

CallListItem() публичный Метод

public CallListItem ( Type callingType, object callingInstance, MethodInfo callingMethod, Exception exception ) : System
callingType System.Type
callingInstance object
callingMethod System.Reflection.MethodInfo
exception System.Exception
Результат System

CallListItem() публичный Метод

public CallListItem ( Type callingType, object callingInstance, MethodInfo callingMethod, object parameterValues ) : System
callingType System.Type
callingInstance object
callingMethod System.Reflection.MethodInfo
parameterValues object
Результат System

CallListItem() публичный Метод

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
Результат System

GetCallTextInfo() публичный статический Метод

public static GetCallTextInfo ( object instance, MethodInfo methodInfo, object parameterValues ) : string
instance object
methodInfo System.Reflection.MethodInfo
parameterValues object
Результат string

GetInstanceTextInfo() публичный статический Метод

public static GetInstanceTextInfo ( object instance ) : string
instance object
Результат string

GetParameterTextInfo() публичный статический Метод

public static GetParameterTextInfo ( object instance, ParameterInfo parameterInfo ) : string
instance object
parameterInfo System.Reflection.ParameterInfo
Результат string

ToString() публичный Метод

public ToString ( ) : string
Результат string