Validates whether type can be specified as the base class (or an interface) for a dynamically-generated proxy.

Namespace:  NHibernate.Proxy
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public Shared Function ValidateType ( _
	type As Type _
) As ICollection
C#
public static ICollection ValidateType(
	Type type
)
Visual C++
public:
static ICollection^ ValidateType(
	Type^ type
)
JavaScript
NHibernate.Proxy.ProxyTypeValidator.validateType = function(type);

Parameters

type
Type: System..::.Type
The type to validate.

Return Value

A collection of errors, if any, or nullNothingnullptra null reference (Nothing in Visual Basic) if none were found.

See Also