|
TypeSeekerFilterByInterface Method |
Filter by the interface
Namespace: DrawerBackup.Native.RuntimeAssembly: DrawerBackup.Native (in DrawerBackup.Native.dll) Version: 0.0.1.1 (0.0.1.1)
Syntaxpublic static IEnumerable<Type> FilterByInterface(
this IEnumerable<Type> source,
Type interfaceType
)
<ExtensionAttribute>
Public Shared Function FilterByInterface (
source As IEnumerable(Of Type),
interfaceType As Type
) As IEnumerable(Of Type)
public:
[ExtensionAttribute]
static IEnumerable<Type^>^ FilterByInterface(
IEnumerable<Type^>^ source,
Type^ interfaceType
)
[<ExtensionAttribute>]
static member FilterByInterface :
source : IEnumerable<Type> *
interfaceType : Type -> IEnumerable<Type>
Parameters
- source
- Type: System.Collections.GenericIEnumerableType
- interfaceType
- Type: SystemType
Return Value
Type:
IEnumerableTypeUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerableType. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
See Also