예제 #1
0
 public static LogicaCompania GetInstancia()
 {
     if (_instancia == null)
     {
         _instancia = new LogicaCompania();
     }
     return(_instancia);
 }
예제 #2
0
        //fabrica logicas

        //logica compania
        public static iLogicaCompania getLogicaCompania()
        {
            return(LogicaCompania.getInstance());
        }
예제 #3
0
 //get instancia
 public static LogicaCompania getInstance()
 {
     return((instancia) ?? (instancia = new LogicaCompania()));
 }
예제 #4
0
 public static ILogicaCompania getLogicaCompania()
 {
     return(LogicaCompania.GetInstancia());
 }