HostTypeCollection(PredicateType, String) Constructor |
Initializes a new host type collection with selected types from one or more assemblies.
The assemblies are specified by name.
Namespace: Microsoft.ClearScriptAssembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.5
Syntax public 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 PredicateType
- A filter for selecting the types to add.
- assemblyNames String
- The names of the assemblies that contain the types with which to initialize the collection.
See Also