Back to Website
Show / Hide Table of Contents

Class ReaderWriterLocker

Inheritance
System.Object
ReaderWriterLocker
Implements
IReaderWriterLocker
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Aurigma.DesignAtoms.Common.Threading
Assembly: Aurigma.DesignAtoms.dll
Syntax
public class ReaderWriterLocker : IReaderWriterLocker

Constructors

ReaderWriterLocker()

Declaration
public ReaderWriterLocker()

Methods

AcquireReadLock(String)

Declaration
public IDisposable AcquireReadLock(string objectKey)
Parameters
Type Name Description
System.String objectKey
Returns
Type Description
System.IDisposable

AcquireReadLockAsync(String)

Declaration
public Task<IDisposable> AcquireReadLockAsync(string objectKey)
Parameters
Type Name Description
System.String objectKey
Returns
Type Description
System.Threading.Tasks.Task<System.IDisposable>

AcquireWriteLock(String)

Declaration
public IDisposable AcquireWriteLock(string objectKey)
Parameters
Type Name Description
System.String objectKey
Returns
Type Description
System.IDisposable

AcquireWriteLockAsync(String)

Declaration
public Task<IDisposable> AcquireWriteLockAsync(string objectKey)
Parameters
Type Name Description
System.String objectKey
Returns
Type Description
System.Threading.Tasks.Task<System.IDisposable>

Implements

IReaderWriterLocker
Back to top Copyright © 2001–2022 Aurigma, Inc. All rights reserved.
Loading...