Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ISharedStateFactory.CanProvideState Method

Indicate, whether the given instance can be served by this factory

[Visual Basic]
Public Sub CanProvideState( _
   ByVal instance As Object, _
   ByVal name As String _
bool CanProvideState(
   object instance,
   string name


the instance to serve state
the name of the instance

Return Value

a boolean value indicating, whether state can be served for the given instance or not.

See Also

ISharedStateFactory Interface | Spring.Objects Namespace