예제 #1
0
 private ContextLock(ILockableContext ctx)
 {
     m_ctx = ctx;
 }
예제 #2
0
        public static async Task <ContextLock> Create(ILockableContext ctx)
        {
            await ctx.EnterLock();

            return(new ContextLock(ctx));
        }