CacheableLocalizationServiceBaseEnterLockSafeAsync - метод

Enters in lock for synchronization or asynchronous calls.

Definition

Пространство имён: Tessa.Localization
Сборка: Tessa (в Tessa.dll) Версия: 3.6.0.22
C#
protected Task<IDisposable?> EnterLockSafeAsync(
	CancellationToken cancellationToken = default
)

Параметры

cancellationToken  CancellationToken  (Optional)
Object to cancel asynchronous operation.

Возвращаемое значение

TaskIDisposable
Object to dispose lock, or null if current service has already been disposed.

См. также