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

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