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

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