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) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public ICollection<string> ValidateType(
	Type type
)
Visual Basic
Public Function ValidateType ( _
	type As Type _
) As ICollection(Of String)
Visual C++
public:
virtual ICollection<String^>^ ValidateType(
	Type^ type
) sealed

Parameters

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

Return Value

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

Implements

IProxyValidator..::..ValidateType(Type)

See Also