ISettingsUnitLockingStrategy - интерфейс

A strategy for managing read and write locks for a settings units and their fragments. Incorrect use of the methods in this interface may lead to "hanging" locks — use with caution.

Definition

Пространство имён: Tessa.SettingsUnits
Сборка: Tessa (в Tessa.dll) Версия: 4.2.1+2efecbe35c10dec386bb05925f2876c4acbb708d
C#
public interface ISettingsUnitLockingStrategy

Методы

ObtainInitializationLockAsync Acquires a write lock for the settings unit initialization.
ObtainReaderLockAsync Acquires a read lock for the settings unit. Returns a value indicating whether the lock was successfully acquired.
ObtainWriterLockAsync Acquires a write lock for the settings unit. Returns a value indicating whether the lock was successfully acquired.
ReleaseInitializationLockAsync Releases the write lock for the settings unit initialization.
ReleaseReaderLockAsync Releases the read lock for the settings unit.
ReleaseWriterLockAsync Releases the write lock for the settings unit.

См. также