예제 #1
0
        bool IFileCollector.Replace(IFileContext context, string file, FileInfo replacement, FileNameMode comparisonMode)
        {
            bool found = false;

            foreach (var item in _files)
            {
                if (FileReference.Equals(context, item.Value[0], file, string.Empty, comparisonMode))
                {
                    item.Value[1] = replacement;
                    found         = true;
                }
            }

            return(found);
        }