Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IObjectNameAware.ObjectName Property

Set the name of the object in the object factory that created this object.

[Visual Basic]
Public MustOverride WriteOnly Property ObjectName() As String
   Public Set
   End Set
End Property
[C#]
public string ObjectName { public set; }

Property Value

The name of the object in the factory.

Remarks

Invoked after population of normal object properties but before an init callback like IInitializingObject's AfterPropertiesSet method or a custom init-method.

See Also

IObjectNameAware Interface | Spring.Objects.Factory Namespace