public static SiteExtensionBatchUpdateStatusLock CreateLock(string rootPath)
 {
     string lockFilePath = Path.Combine(rootPath, LockNameSuffix);
     var batchUpdateLock = new SiteExtensionBatchUpdateStatusLock(lockFilePath);
     batchUpdateLock.InitializeAsyncLocks();
     return batchUpdateLock;
 }
예제 #2
0
        public static SiteExtensionBatchUpdateStatusLock CreateLock(string rootPath)
        {
            string lockFilePath    = Path.Combine(rootPath, LockNameSuffix);
            var    batchUpdateLock = new SiteExtensionBatchUpdateStatusLock(lockFilePath);

            batchUpdateLock.InitializeAsyncLocks();
            return(batchUpdateLock);
        }