Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IObjectDefinition.ObjectType Property

Returns the Type of the object definition (if any).

[Visual Basic]
Public MustOverride ReadOnly Property ObjectType() As Type
   Public Get
   End Get
End Property
[C#]
public Type ObjectType { public get; }

Property Value

A resolved object Type.

Exceptions

Exception Type Condition
ApplicationException If the Type of the object definition is not a resolved Type or a null reference (Nothing in Visual Basic).

See Also

IObjectDefinition Interface | Spring.Objects.Factory.Config Namespace