예제 #1
0
 public static DLObject getInstance()
 {
     if (instance == null)
     {
         instance = new DLObject();
     }
     return(instance);
 }
예제 #2
0
 public static DLObject GetDLObject()
 {
     if (instance == null)
     {
         instance = new DLObject();
         DateSource a = DateSource.GetDateObject();
     }
     return(instance);
 }
예제 #3
0
        public static IDL GetDL(string type)
        {
            switch (type)
            {
            case "lists":
                return(DLObject.getInstance());

            default:
                throw new Exception("No such type of DL object implementation exists (factory exception...)");
            }
        }