Ejemplo n.º 1
0
 public static AccuRevMother GetInstance() {
     AccuRevMother implementation; 
     if ((new ExecutionEnvironment()).IsRunningOnWindows)
         implementation = new AccuRevMotherWindows();
     else
         implementation = new AccuRevMotherUnix();
     return implementation;
 }
Ejemplo n.º 2
0
        public static AccuRevMother GetInstance()
        {
            AccuRevMother implementation;

            if ((new ExecutionEnvironment()).IsRunningOnWindows)
            {
                implementation = new AccuRevMotherWindows();
            }
            else
            {
                implementation = new AccuRevMotherUnix();
            }
            return(implementation);
        }