Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

UniqueKey.GetInstanceScoped Method

Creates a new key instance unique to the given instance.

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

Parameters

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

Remarks

Exceptions

Exception Type Condition
ArgumentException If instance is of type Type

See Also

UniqueKey Class | Spring.Util Namespace