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"); } }
public ArchiveVersionInfo(string id, Dictionary <string, string> medias, AVRuleSet avRuleSet) { Medias = medias; Id = id; AvRuleSet = avRuleSet; }