C# Class LinFu.Reflection.PredicateBuilder

ファイルを表示 Open project: philiplaureano/LinFu.DynamicObject Class Usage Examples

Public Methods

Method Description
AddPredicates ( IList methods ) : void
AddPredicates ( IList list, MethodInfo method ) : void
PredicateBuilder ( ) : System
SetParameterTypes ( ParameterInfo parameterInfo ) : void

Private Methods

Method Description
AddParameterPredicate ( int position, Type argumentType, bool matchCovariantParameterTypes, IList methods ) : void
MakeParameterPredicate ( int position, Type parameterType, bool covariant ) : bool>.Func
MatchesGenericParameterType ( int currentPosition, MethodInfo method, Type parameterType, Func areParameterTypesEqual ) : bool
MatchesParameterType ( MethodInfo method, Type parameterType, int position, bool covariant ) : bool
ShouldMatchGenericTypeParameters ( IList methods ) : void
ShouldMatchMethodName ( IEnumerable methods ) : void
ShouldMatchParameterTypes ( IEnumerable currentParameters, bool covariant, IList methods ) : void
ShouldMatchParameterTypes ( IList methods ) : void
ShouldMatchParameters ( IList methods ) : void
ShouldMatchProtectedMethods ( IEnumerable methods ) : void
ShouldMatchPublicMethods ( IEnumerable methods ) : void
ShouldMatchReturnType ( IList methods ) : void
ShouldMatchRuntimeArguments ( IList methods ) : void

Method Details

AddPredicates() public method

public AddPredicates ( IList methods ) : void
methods IList
return void

AddPredicates() public static method

public static AddPredicates ( IList list, MethodInfo method ) : void
list IList
method System.Reflection.MethodInfo
return void

PredicateBuilder() public method

public PredicateBuilder ( ) : System
return System

SetParameterTypes() public method

public SetParameterTypes ( ParameterInfo parameterInfo ) : void
parameterInfo System.Reflection.ParameterInfo
return void