StorytellerDocGen.TopicFileWatcher.FileChangeShouldRegenerateTopicTree C# (CSharp) Method

FileChangeShouldRegenerateTopicTree() public method

public FileChangeShouldRegenerateTopicTree ( string file ) : bool
file string
return bool
        public bool FileChangeShouldRegenerateTopicTree(string file)
        {
            if (Path.GetExtension(file) == ".md") return true;

            var name = Path.GetFileName(file);

            return name.EqualsIgnoreCase("splash.htm") || name.EqualsIgnoreCase("order.txt");
        }