iDS iDS.Get(string fileName) { iDS res = null; if (fileName == ".pdf") { res = new DS_Standard(); } else { res = null; } return res; }
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; }
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; }