Пример #1
0
 iDS iDS.Get(string fileName)
 {
     iDS res=null;
     if (fileName == ".raw")
     {
         res = new DS_Standard();
     }
     else
     {
         res = null;
     }
     return res;
 }
Пример #2
0
 public iDS IsReady(string extension)
 {
     iDS res =null;
     for (int i = 0; i < arrType.Length; i++)
     {
         if (extension == arrType[i])
         {
             res = new DS_Standard();
         }
     }
     if (res == null)
     {
         res = this.Next.IsReady(extension);
     }
     return res;
 }
Пример #3
0
        iDS iDS.Get(string fileName)
        {
            iDS res, ress = null;

            for (int i = 0; i < arrType.Length; i++)
            {
                if (fileName == arrType[i])
                {
                    ress = new DS_Standard();
                }
                else
                    res = null;
            }
            res = ress;
            return ress;
        }