public override FileObject GetFile(string path) { if (Path.GetExtension(path).ToUpper() == ".ZIP" || NextType == null) { return(new ZipFileObj(path)); } else { return(NextType.GetFile(path)); } }
public override FileObject GetFile(string path) { if (Path.GetExtension(path).ToUpper() == ".ZIP" || NextType == null) { return(new ZipFileObj(path)); } else { return(NextType.GetFile(path)); } }