Пример #1
0
 /// <summary>
 /// This is the factory method of DalImp
 /// </summary>
 /// <returns>The <see cref="instance"/> of the singleton factory (singletory)</returns>
 public static IDAL GetDAL()
 {
     if (instance == null)
     {
         instance = new DalImp();
         return(instance);
     }
     return(instance);
 }
 public static IDAL GetDAL()
 {
     return(DalImp.GetDAL());
 }