HasInterfaces Method
Definition
- Namespace
- Cuemon
- Assemblies
- Cuemon.Core.dll
HasInterfaces(IDecorator<Type>, params Type[])
Determines whether the underlying Type of the decorator implements one or more of the specified interfaceTypes.
public static bool HasInterfaces(this IDecorator<Type> decorator, params Type[] interfaceTypes)
Parameters
decoratorIDecorator<Type>The IDecorator<T> to extend.
interfaceTypesType[]The interface types to be matched against.
Returns
- bool
trueif the underlying Type of thedecoratorimplements one or more of the specifiedinterfaceTypes; otherwise,false.
Exceptions
- ArgumentNullException
decoratorcannot be null -or-interfaceTypescannot be null.