ReflectionExtensions
Static members
Static member | Description |
CSharpCompile(...)
Signature: (code:string * dllName:string * additionalAssemblies:string []) -> CompilerResults
|
|
Description(someEnum)
Signature: someEnum:Enum -> string
|
|
Extend(target, source)
Signature: (target:'T * source:'T) -> 'T
Type parameters: 'T |
|
FindCommonAncestor(type, targetType)
Signature: (type:Type * targetType:Type) -> Type
|
|
GetAttribute(pi)
Signature: pi:PropertyInfo -> 'T
Type parameters: 'T |
|
GetAttribute(typeWithAttributes)
Signature: typeWithAttributes:Type -> 'T
Type parameters: 'T |
Loads the custom attributes from the type |
GetAttributes(pi)
Signature: pi:PropertyInfo -> IEnumerable<'T>
Type parameters: 'T |
|
GetAttributes(typeWithAttributes)
Signature: typeWithAttributes:Type -> IEnumerable<'T>
Type parameters: 'T |
Loads the custom attributes from the type |
GetDefault(type)
Signature: type:Type -> obj
|
|
GetPropertyValue(source, property)
Signature: (source:obj * property:string) -> 'T
Type parameters: 'T |
|
IsNullable(type)
Signature: type:Type -> bool
|
Return true if the type is a System.Nullable wrapper of a value type |
IsSubclassOfRawGeneric(...)
Signature: (toCheck:Type * baseType:Type) -> bool
|
Alternative version of that supports raw generic types (generic types without any type parameters). |