Gets instances for all classes of a specified assignable type..
- Namespace
- Statiq
.Common - Containing Type
- Class
Catalog Extensions
Syntax
public static IEnumerable<T> GetInstances<T>(this ClassCatalog classCatalog)
Type Parameters
Name | Description |
---|---|
T | The type of instances to get. |
Parameters
Name | Type | Description |
---|---|---|
classCatalog | ClassCatalog | The class catalog. |
Return Value
Type | Description |
---|---|
IEnumerable |
Instances for all classes of type T . |