Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

Set.SyncRoot Property

An object that can be used to synchronize this collection to make it thread-safe.

[Visual Basic]
Public MustOverride ReadOnly Property SyncRoot() As Object _
    Implements ICollection.SyncRoot

   Public Get
   End Get
End Property
[C#]
public abstract object SyncRoot { public get; }

Property Value

An object that can be used to synchronize this collection to make it thread-safe.

Implements

ICollection.SyncRoot

Remarks

When implementing this, if your object uses a base object, like an IDictionary, or anything that has a SyncRoot, return that object instead of "this".

See Also

Set Class | Spring.Collections Namespace