コード例 #1
0
        public IArchiveFactory AddArchive(string name, AVRuleSet type)
        {
            switch (type)
            {
            case AVRuleSet.BKG1007:
                return(new Archive1007Factory(this, _fileSystem, _basePath, name));

            case AVRuleSet.BKG342:
            case AVRuleSet.BKG128:
            default:
                throw new NotSupportedException("This ArchiveVersion type is currently not supported");
            }
        }
コード例 #2
0
 public ArchiveVersionInfo(string id, Dictionary <string, string> medias, AVRuleSet avRuleSet)
 {
     Medias    = medias;
     Id        = id;
     AvRuleSet = avRuleSet;
 }