Method ConstructTypesDerivedFrom
ConstructTypesDerivedFrom<T>()
Construct instance of all types derived from T
.
Declaration
public static IEnumerable<T> ConstructTypesDerivedFrom<T>()
Returns
Type | Description |
---|---|
IEnumerable<T> | Enumeration of constructed instance of all types derived from |
Type Parameters
Name | Description |
---|---|
T | The derived type. |
ConstructTypesDerivedFrom<T>(Func<Type, bool>)
Construct instance of all types derived from T
that satisfies the filtering function.
Declaration
public static IEnumerable<T> ConstructTypesDerivedFrom<T>(Func<Type, bool> filter)
Parameters
Returns
Type | Description |
---|---|
IEnumerable<T> | Enumeration of constructed instance of all types derived from |
Type Parameters
Name | Description |
---|---|
T | The derived type. |
ConstructTypesDerivedFrom<T>(Func<T, bool>)
Construct instance of all types derived from T
that satisfies the condition function.
Declaration
public static IEnumerable<T> ConstructTypesDerivedFrom<T>(Func<T, bool> condition)
Parameters
Returns
Type | Description |
---|---|
IEnumerable<T> | Enumeration of constructed instance of all types derived from |
Type Parameters
Name | Description |
---|---|
T | The derived type. |
ConstructTypesDerivedFrom<T>(Func<Type, bool>, Func<T, bool>)
Construct instance of all types derived from T
that satisfies both the filtering and condition functions.
Declaration
public static IEnumerable<T> ConstructTypesDerivedFrom<T>(Func<Type, bool> filter, Func<T, bool> condition)
Parameters
Type | Name | Description |
---|---|---|
Func<Type, bool> | filter | The filtering function. |
Func<T, bool> | condition | The condition function. |
Returns
Type | Description |
---|---|
IEnumerable<T> | Enumeration of constructed instance of all types derived from |
Type Parameters
Name | Description |
---|---|
T | The derived type. |