HostTypeCollection Constructor (PredicateType, Assembly) |
Initializes a new host type collection with selected types from one or more assemblies.
Namespace:
Microsoft.ClearScript
Assembly:
ClearScript.Core (in ClearScript.Core.dll) Version: 7.2.5
Syntaxpublic HostTypeCollection(
Predicate<Type> filter,
params Assembly[] assemblies
)
Public Sub New (
filter As Predicate(Of Type),
ParamArray assemblies As Assembly()
)
public:
HostTypeCollection(
Predicate<Type^>^ filter,
... array<Assembly^>^ assemblies
)
new :
filter : Predicate<Type> *
assemblies : Assembly[] -> HostTypeCollection
Parameters
- filter
- Type: SystemPredicateType
A filter for selecting the types to add. - assemblies
- Type: System.ReflectionAssembly
The assemblies that contain the types with which to initialize the collection.
See Also