Visual Basic (Declaration) | |
---|---|
Public Structure WriteLock Inherits System.ValueType |
C# | |
---|---|
public struct WriteLock : System.ValueType |
Library/Library.Test/LockingTests/TestIgnoreLocking.cs
C# | Copy Code |
---|---|
using (ILockStrategy l = LockFactory.Create()) { Assert.AreEqual(0, l.WriteVersion); using(l.Write()) Assert.AreEqual(0, l.WriteVersion); Assert.AreEqual(0, l.WriteVersion); } |
VB.NET | Copy Code |
---|---|
Using l As ILockStrategy = LockFactory.Create() Assert.AreEqual(0, l.WriteVersion) Using l.Write() Assert.AreEqual(0, l.WriteVersion) End Using Assert.AreEqual(0, l.WriteVersion) End Using |
System.Object
System.ValueType
CSharpTest.Net.Synchronization.WriteLock
Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7
Reference
WriteLock MembersCSharpTest.Net.Synchronization Namespace
WriteLock ILockStrategy.Write()
WriteLock ILockStrategy.Write(Int32)
WriteLock ReservedWriteLocking.Write()
WriteLock ReservedWriteLocking.Write(Int32)
WriteLock DebugLocking.Write(Int32)
WriteLock DebugLocking.Write()
WriteLock ExclusiveLocking.Write()
WriteLock ExclusiveLocking.Write(Int32)
WriteLock IgnoreLocking.Write()
WriteLock IgnoreLocking.Write(Int32)
WriteLock ReaderWriterLocking.Write()
WriteLock ReaderWriterLocking.Write(Int32)
WriteLock SimpleReadWriteLocking.Write()
WriteLock SimpleReadWriteLocking.Write(Int32)
WriteLock WriterOnlyLocking.Write()
WriteLock WriterOnlyLocking.Write(Int32)
Used By
BPlusTreeBPlusTree
BPlusTree
ThreadedBTreeTest.TestCallLevelLocking()
IDictionary
SynchronizedDictionary
Boolean SynchronizedDictionary
SynchronizedDictionary
TValue SynchronizedDictionary
TValue SynchronizedDictionary
Boolean SynchronizedDictionary
Boolean SynchronizedDictionary
TValue SynchronizedDictionary
TValue SynchronizedDictionary
Boolean SynchronizedDictionary
Boolean SynchronizedDictionary
Boolean SynchronizedDictionary
Boolean SynchronizedDictionary
Boolean SynchronizedDictionary
Boolean SynchronizedDictionary
Boolean SynchronizedDictionary
IList
Int32 SynchronizedList
SynchronizedList
Boolean SynchronizedList
SynchronizedList
SynchronizedList