Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

UniqueKey.GetInstanceScopedString Method

Returns a key unique for the given instance.

[Visual Basic]
Public Shared Sub GetInstanceScopedString( _
   ByVal instance As Object, _
   ByVal partialKey As String _
)
[C#]
public static string GetInstanceScopedString(
   object instance,
   string partialKey
);

Parameters

instance
The instance the key shall be unique to
partialKey
The partial key to be made unique

Return Value

A key formatted as typename[instance-id].partialkey

See Also

UniqueKey Class | Spring.Util Namespace