ReflectionExtensions
Provides extension methods for reflection.
Finds the first common base of the given types.
Gets the type of the array item.
Gets the generic type arguments of a type.
Determines whether the specified property name exists.
Checks whether the given type inherits from the given type name.
Checks whether the given type is assignable to the given type name.
public static T TryGetByObjectType<T>(this IEnumerable<T> attributes, string typeName, TypeNameStyle typeNameStyle = 1)
Tries to get the first object of the given type name.
public static T TryGetIfAssignableTo<T>(this IEnumerable<T> attributes, string typeName, TypeNameStyle typeNameStyle = 1)
Tries to get the first object which is assignable to the given type name.
Determines whether the specified property name exists.