internal InternalCustomRoLockedResource <StringBuilderCustomVault> PerformRoLockBlockForever() { var ilr = ExecuteGetInternalLockedResourceBlockForever(AcquisitionMode.ReadOnly); try { return(InternalCustomRoLockedResource <StringBuilderCustomVault> .CreateRoLockedResource(ref ilr, this)); } finally { ilr.Dispose(); } }
internal InternalCustomRoLockedResource <StringBuilderCustomVault> PerformRoLock(TimeSpan?timeout, CancellationToken token) { var ilr = ExecuteGetInternalLockedResource(timeout, token, AcquisitionMode.ReadOnly); try { return(InternalCustomRoLockedResource <StringBuilderCustomVault> .CreateRoLockedResource(ref ilr, this)); } finally { ilr.Dispose(); } }