Gets all types from a specified assembly.
- Namespace
- Statiq
.Common - Containing Type
- ClassCatalog
Syntax
public IEnumerable<Type> GetTypesFromAssembly(Assembly assembly, bool includeAbstract = false)
Parameters
Name | Type | Description |
---|---|---|
assembly | Assembly | The assembly to get types from. |
includeAbstract | bool | true to include abstract class types, false otherwise. |
Return Value
Type | Description |
---|---|
IEnumerable |
All types from the specified assembly. |