public bool IsSolutionLocked(string slnFilePath)
        {
            bool   flag            = false;
            string slnLockFilePath = SolutionLockHandler.getSlnLockFilePath(slnFilePath);

            try
            {
                flag = this.filelockhandler.IsFileLocked(slnLockFilePath);
            }
            catch (Exception ex)
            {
                LogConfig.Logger.Info((object)string.Format("solution {0} didn't locked ", (object)slnFilePath));
            }
            return(flag);
        }
        public bool TryLockSolution(string slnFilePath)
        {
            bool   flag            = false;
            string slnLockFilePath = SolutionLockHandler.getSlnLockFilePath(slnFilePath);

            try
            {
                flag = this.filelockhandler.LockFile(slnLockFilePath);
            }
            catch (Exception ex)
            {
                LogConfig.Logger.Error((object)string.Format("can not lock solution {0}", (object)slnFilePath));
            }
            return(flag);
        }