Exemple #1
0
        /// <summary>
        /// Returns a boolean indicating if the specified file exists in the library.
        /// </summary>
        public bool FileExists(string filename)
        {
            bool referenceExists         = references.FileExists(filename);
            bool templateReferenceExists = (templates.TemplateTagHierarchy.LocateFileByPath(filename) != null);

            return(referenceExists || templateReferenceExists);
        }