using System.Linq; using System.Text; using System.Threading.Tasks; using System.IO; namespace Navigator {
public static IFileMgr create(FileMgrType type) { if (type == FileMgrType.Local) { return(new LocalFileMgr()); } return(null); // eventually will have remote file Mgr }
static public IFileMgr create(FileMgrType type) { if (type == FileMgrType.Local) { return(new LocalFileMgr()); } else { return(null); } }