Class ReflectionHelper  
  
  
    - Namespace
- Steeltoe.Common.Expression.Internal.Spring.Support
- Assembly
- Steeltoe.Common.Expression.dll
 
  
  
  
    public static class ReflectionHelper
   
  
    - Inheritance
- 
      
      ReflectionHelper 
    - Inherited Members
- 
    
    
    
    
    
    
    
  
Methods
  
  
  CompareArguments(List<Type>, List<Type>, ITypeConverter)
  
  
  
  
  
    public static ArgumentsMatchInfo CompareArguments(List<Type> expectedArgTypes, List<Type> suppliedArgTypes, ITypeConverter typeConverter)
   
  Parameters
  
    - expectedArgTypesList<Type>
- suppliedArgTypesList<Type>
- typeConverterITypeConverter
Returns
  
    - ArgumentsMatchInfo
  CompareArgumentsVarargs(List<Type>, List<Type>, ITypeConverter)
  
  
  
  
  
    public static ArgumentsMatchInfo CompareArgumentsVarargs(List<Type> expectedArgTypes, List<Type> suppliedArgTypes, ITypeConverter typeConverter)
   
  Parameters
  
    - expectedArgTypesList<Type>
- suppliedArgTypesList<Type>
- typeConverterITypeConverter
Returns
  
    - ArgumentsMatchInfo
  ConvertAllArguments(ITypeConverter, object[], MethodInfo)
  
  
  
  
  
    public static bool ConvertAllArguments(ITypeConverter converter, object[] arguments, MethodInfo method)
   
  Parameters
  
    - converterITypeConverter
- argumentsobject[]
- methodMethodInfo
Returns
  
    - bool
  ConvertArguments(ITypeConverter, object[], MethodBase, int?)
  
  
  
  
  
    public static bool ConvertArguments(ITypeConverter converter, object[] arguments, MethodBase executable, int? varargsPosition)
   
  Parameters
  
    - converterITypeConverter
- argumentsobject[]
- executableMethodBase
- varargsPositionint?
Returns
  
    - bool
  GetAccessibleConstructor(Type, params Type[])
  
  
  
  
  
    public static ConstructorInfo GetAccessibleConstructor(Type clazz, params Type[] paramTypes)
   
  Parameters
  
    - clazzType
- paramTypesType[]
Returns
  
    - ConstructorInfo
  GetElementTypeDescriptor(Type)
  
  
  
  
  
    public static Type GetElementTypeDescriptor(Type type)
   
  Parameters
  
    - typeType
Returns
  
    - Type
  GetElementTypeDescriptor(Type, object)
  
  
  
  
  
    public static Type GetElementTypeDescriptor(Type type, object obj)
   
  Parameters
  
    - typeType
- objobject
Returns
  
    - Type
  GetMapKeyTypeDescriptor(Type)
  
  
  
  
  
    public static Type GetMapKeyTypeDescriptor(Type targetDescriptor)
   
  Parameters
  
    - targetDescriptorType
Returns
  
    - Type
  GetMapKeyTypeDescriptor(Type, object)
  
  
  
  
  
    public static Type GetMapKeyTypeDescriptor(Type targetDescriptor, object mapKey)
   
  Parameters
  
    - targetDescriptorType
- mapKeyobject
Returns
  
    - Type
  GetMapValueTypeDescriptor(Type)
  
  
  
  
  
    public static Type GetMapValueTypeDescriptor(Type targetDescriptor)
   
  Parameters
  
    - targetDescriptorType
Returns
  
    - Type
  GetMapValueTypeDescriptor(Type, object)
  
  
  
  
  
    public static Type GetMapValueTypeDescriptor(Type targetDescriptor, object mapValue)
   
  Parameters
  
    - targetDescriptorType
- mapValueobject
Returns
  
    - Type
  GetTypeDifferenceWeight(List<Type>, List<Type>)
  
  
  
  
  
    public static int GetTypeDifferenceWeight(List<Type> paramTypes, List<Type> argTypes)
   
  Parameters
  
    - paramTypesList<Type>
- argTypesList<Type>
Returns
  
    - int
  IsPublic(Type)
  
  
  
  
  
    public static bool IsPublic(Type type)
   
  Parameters
  
    - typeType
Returns
  
    - bool
  SetupArgumentsForVarargsInvocation(Type[], params object[])
  
  
  
  
  
    public static object[] SetupArgumentsForVarargsInvocation(Type[] requiredParameterTypes, params object[] args)
   
  Parameters
  
    - requiredParameterTypesType[]
- argsobject[]
Returns
  
    - object[]