HostTypeCollectionAddAssembly Method (Assembly, PredicateType) |
Adds selected types from an assembly to a host type collection.
Namespace:
Microsoft.ClearScript
Assembly:
ClearScript.Core (in ClearScript.Core.dll) Version: 7.2.5
Syntaxpublic void AddAssembly(
Assembly assembly,
Predicate<Type> filter
)
Public Sub AddAssembly (
assembly As Assembly,
filter As Predicate(Of Type)
)
public:
void AddAssembly(
Assembly^ assembly,
Predicate<Type^>^ filter
)
member AddAssembly :
assembly : Assembly *
filter : Predicate<Type> -> unit
Parameters
- assembly
- Type: System.ReflectionAssembly
The assembly that contains the types to add. - filter
- Type: SystemPredicateType
A filter for selecting the types to add.
See Also