DynamicInterface.FilterTypesCompatibleTo Method (Assembly)

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.OneGet.Utility.Plugin
Assembly: Microsoft.OneGet.Utility (in Microsoft.OneGet.Utility.dll)

Usage

'Usage
Dim instance As DynamicInterface
Dim assembly As Assembly
Dim returnValue As IEnumerable(Of Type)

returnValue = instance.FilterTypesCompatibleTo(assembly)

Syntax

'Declaration
Public Function FilterTypesCompatibleTo(Of TInterface) ( _
    assembly As Assembly _
) As IEnumerable(Of Type)
public IEnumerable<Type> FilterTypesCompatibleTo<TInterface> (
    Assembly assembly
)
public:
generic<typename TInterface>
IEnumerable<Type^>^ FilterTypesCompatibleTo (
    Assembly^ assembly
)

GenericParameters

  • TInterface

Parameters

  • assembly

Return Value

Returns IEnumerable.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

See Also

Reference

DynamicInterface Class
DynamicInterface Members
Microsoft.OneGet.Utility.Plugin Namespace