示例#1
0
 iDS iDS.Get(string fileName)
 {
     iDS res = null;
     if (fileName == ".pdf")
     {
         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;
        }