HasTypes Method
Definition
- Namespace
- Cuemon.Extensions
- Assemblies
- Cuemon.Extensions.Core.dll
HasTypes(Type, params Type[])
Determines whether the specified type type contains one or more of the specified target types.
public static bool HasTypes(this Type type, params Type[] targets)
Parameters
Returns
- bool
trueif thetypecontains one or more of the specified target types; otherwise,false.
Exceptions
- ArgumentNullException
typecannot be null -or-targetscannot be null.