Ejemplo n.º 1
0
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
 }
Ejemplo n.º 3
0
 static public IFileMgr create(FileMgrType type)
 {
     if (type == FileMgrType.Local)
     {
         return(new LocalFileMgr());
     }
     else
     {
         return(null);
     }
 }