Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

MethodInvokingFactoryObject.ObjectType Property

Return the return value Type of the method that this factory invokes, or a null reference (Nothing in Visual Basic) if not known in advance.

[Visual Basic]
Public NotOverridable ReadOnly Property ObjectType() As Type _
    Implements IFactoryObject.ObjectType

   Public Get
   End Get
End Property
[C#]
public Type ObjectType { public get; }

Implements

IFactoryObject.ObjectType

Remarks

If the return value of the method that this factory is to invoke is void, then the MissingType will be returned (in accordance with the IFactoryObject contract that treats a a null reference (Nothing in Visual Basic) value as a configuration error).

See Also

MethodInvokingFactoryObject Class | Spring.Objects.Factory.Config Namespace | ObjectType