Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

PropertyPathFactoryObject.ObjectName Property

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

[Visual Basic]
Public NotOverridable WriteOnly Property ObjectName() As String _
    Implements IObjectNameAware.ObjectName

   Public Set
   End Set
End Property
[C#]
public string ObjectName { public set; }

Property Value

The name of the object in the factory.

Implements

IObjectNameAware.ObjectName

Remarks

The object name of this PropertyPathFactoryObject will be interpreted as "objectName.property" pattern, if neither the TargetObjectNameTargetObject have been supplied (set).

This allows for concise object definitions with just an id or name.

See Also

PropertyPathFactoryObject Class | Spring.Objects.Factory.Config Namespace