src/Misc/EFTools/DesignXmlCore/Refactoring/RefactoringOperationBase.cs
/// <summary>
///     SCCI operation, check out any file that need to be changed.
///     If failed to check out any file, prompt error message.
/// </summary>
/// <returns>If true, check out succeed.</returns>
SCCI operation, check out any file that need to be changed.
If failed to check out any file, prompt error message.
SCCI operation check out any file that need to be changed . If failed to check out any file prompt error message .
protected bool EnsureFileCheckOut(IList<String> files)
        {
            if (files.Count > 0)
            {
                var changeFiles = new string[files.Count];
                files.CopyTo(changeFiles, 0);
                var userCanceled = false;
                if (!QueryEditFiles(out userCanceled, changeFiles))
                {
                    if (userCanceled)
                    {
                        OnError(Resources.Error_FailedToCheckOut);
                    }
                    return false;
                }
            }
            return true;
        }
protected bool EnsureFileCheckOut ( IList < String > files ) { if ( files . Count > 0 ) { var changeFiles = new string [ files . Count ] ; files . CopyTo ( changeFiles , 0 ) ; var userCanceled = false ; if ( ! QueryEditFiles ( out userCanceled , changeFiles ) ) { if ( userCanceled ) { OnError ( Resources . Error_FailedToCheckOut ) ; } return false ; } } return true ; }
SCCI operation, check out any file that need to be changed.
SCCI operation check out any file that need to be changed .
If true, check out succeed.
If true check out succeed .
files
IList<String>