ReflectionUtils
Determines whether the specified MemberInfo can be read.
Determines whether the specified MemberInfo can be set.
public static object CreateGeneric(Type genericTypeDefinition, IList<Type> innerTypes, object[] args)
public static object CreateGeneric(Type genericTypeDefinition, IList<Type> innerTypes, Func<Type, IList<object>, object> instanceCreator, object[] args)
public static T GetAttribute<T>(ICustomAttributeProvider attributeProvider, bool inherit) where T : Attribute
public static T[] GetAttributes<T>(ICustomAttributeProvider attributeProvider, bool inherit) where T : Attribute
Gets the type of the typed collection's items.
public static void GetDictionaryKeyValueTypes(Type dictionaryType, out Type keyType, out Type valueType)
Gets the member's underlying type.
Gets the member's value on the object.
public static string GetTypeName(Type t, FormatterAssemblyStyle assemblyFormat, SerializationBinder binder)
public static bool ImplementsGenericDefinition(Type type, Type genericInterfaceDefinition, out Type implementingType)
public static bool InheritsGenericDefinition(Type type, Type genericClassDefinition, out Type implementingType)
Determines whether the member is an indexed property.
Determines whether the property is an indexed property.
Sets the member's value on the target object.
public static void SplitFullyQualifiedTypeName(string fullyQualifiedTypeName, out string typeName, out string assemblyName)