//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; }
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; }
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; }
//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; }