51Degrees Pipeline for .NET

FiftyOne.Pipeline.Engines.Utils Class Reference

Detailed Description

Static utility methods.

Static Public Member Functions

static bool IsTypeOrAspectPropertyValue< T > (Type type)
 Check if the specified type is a specific type 'T' or an implementation of IAspectPropertyValue<T> that wraps 'T'.

Member Function Documentation

◆ IsTypeOrAspectPropertyValue< T >()

bool FiftyOne.Pipeline.Engines.Utils.IsTypeOrAspectPropertyValue< T > ( Type type)
static

Check if the specified type is a specific type 'T' or an implementation of IAspectPropertyValue<T> that wraps 'T'.

Template Parameters
TThe type to check for
Parameters
typeThe type to check
Returns
True if 'type' is of type 'T' or a wrapper around 'T'
Exceptions
ArgumentNullExceptionThrown if required parameters are null