Aardvark.Base


Introspection

Static members

Static memberDescription
AllAssemblies
Signature: IEnumerable<Assembly>

Enumerates all known assemblies.

GetAllClassesImplementingInterface(...)
Signature: interfaceType:Type -> IEnumerable<Type>

Enumerates all classes implementing the specified interface.

GetAllClassesImplementingInterface(...)
Signature: (a:Assembly * interfaceType:Type) -> Type []

Enumerates all classes from the specified assembly implementing the specified interface.

GetAllClassesInheritingFrom(baseType)
Signature: baseType:Type -> IEnumerable<Type>

Enumerates all classes inheriting from the specified base class.

GetAllClassesInheritingFrom(a, baseType)
Signature: (a:Assembly * baseType:Type) -> Type []

Enumerates all classes from the specified assembly inheriting from the specified base class.

GetAllMethodsWithAttribute()
Signature: unit -> IEnumerable<Tup<MethodInfo,'T []>>
Type parameters: 'T

Enumerates all methods decorated with attribute T as tuples of MethodInfo and its one or more T-attributes.

GetAllMethodsWithAttribute(a)
Signature: a:Assembly -> Tup<MethodInfo,'T []> []
Type parameters: 'T

Enumerates all methods from the specified assembly decorated with attribute T as tuples of MethodInfo and its one or more T-attributes.

GetAllTypesWithAttribute()
Signature: unit -> IEnumerable<Tup<Type,'T []>>
Type parameters: 'T

Enumerates all types decorated with attribute T as tuples of type and its one or more T-attributes.

GetAllTypesWithAttribute(a)
Signature: a:Assembly -> Tup<Type,'T []> []
Type parameters: 'T

Enumerates all types from the specified assembly decorated with attribute T as tuples of type and its one or more T-attributes.

RegisterAssembly(a)
Signature: a:Assembly -> unit

Registers an additional assembly at runtime to be used for subsequent introspection queries. This may be used for e.g. plugin scenarios. All assemblies that are reachable from the entry assembly are registered automatically at startup.

Fork me on GitHub