Esempio n. 1
0
        //protected iDS Next;

        //iDS iDS.Next
        //{
        //    get
        //    {
        //        return Next;
        //    }
        //    set
        //    {
        //        Next = value;
        //    }
        //}


        public override iDS Get(string fileName)
        {
            iDS res=null;
            if (fileName == ".raw")
            {
                res = new DS_Standard();
            }
            else
            {
                res = null;
            }
            return res;
        }
Esempio n. 2
0
 iDS iDS.Get(string fileName)
 {
     for (int i = 0; i < arrType.Length; i++)
     {
         if (fileName == arrType[i])
         {
             ress = new DS_Standard();
         }
         else
             res = null;
     }
     res = ress;
     return ress;
 }
Esempio n. 3
0
 public override 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;
 }
Esempio n. 4
0
        //protected iDS Next;

        //iDS iDS.Next
        //{
        //    get
        //    {
        //        return Next;
        //    }
        //    set
        //    {
        //        Next = value;
        //    }
        //}


        public override 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;
        }