//ncrunch: no coverage start static void Main(string[] args) { FileExtensionManager myManager = new FileExtensionManager(); ExtensionManagerFactory.SetManager(myManager); LogAnalyzer logAn = new LogAnalyzer(); logAn.IsValidLogFileName("ValidFileName.SLF"); }
protected virtual bool IsValid(string fileName) { FileExtensionManager manager = new FileExtensionManager(); return(manager.IsValid(fileName)); }