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

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