HasTypes Method
Definition
- Namespace
- Cuemon
- Assemblies
- Cuemon.Core.dll
HasTypes(IDecorator<Type>, params Type[])
Determines whether the enclosed Type of the decorator contains one or more of the specified types.
public static bool HasTypes(this IDecorator<Type> decorator, params Type[] types)
Parameters
decoratorIDecorator<Type>The IDecorator<T> to extend.
typesType[]The types to be matched against.
Returns
- bool
trueif the enclosed Type of thedecoratorcontains one or more of the specifiedtypes; otherwise,false.
Exceptions
- ArgumentNullException
decoratorcannot be null -or-typescannot be null.