private FileLockManager GetOrCreateFileLockUnsafe(string fullName, TimeSpan timeout) { FileLockManager fileLockManager = null; if (!_lockedFiles.TryGetValue(fullName, out fileLockManager)) { fileLockManager = new FileLockManager(fullName, timeout, this); _lockedFiles[fullName] = fileLockManager; } return(fileLockManager); }
internal FileLock(FileLockManager toRelease) { _fileLockManager = toRelease; }