private ContextLock(ILockableContext ctx) { m_ctx = ctx; }
public static async Task <ContextLock> Create(ILockableContext ctx) { await ctx.EnterLock(); return(new ContextLock(ctx)); }