예제 #1
0
        public void Analyze()
        {
            BaseConstants.SetExportPath(@"\\as-204te\Sway\FilmDb");

            var filmCollector = new JsonListFileHandler <Film>(BaseConstants.FilmPath);
            var films         = filmCollector.Items;

            var classDefineCollector = new JsonFileHandler <ClassificationDefine>(BaseConstants.ClassificationDefinePath);
            var classDefines         = classDefineCollector.Item;

            ClassifyFilms(films, classDefines);
        }
예제 #2
0
 public ExtensionInDirHandler()
 {
     ExtensionFileHandler = new JsonFileHandler <Extension>(BaseConstants.ExtensionPath);
 }