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