コード例 #1
0
        /// <summary>
        /// Check the application config settings, initialize the workingmemory repos from their source files, create a log file if one doesn't exist.
        /// </summary>
        public static void Start()
        {
            SetTestOrProd.SetTestOrProdMode(Properties.Settings.Default.TestMode);
            SetTestOrProd.MyStatesObject.GetStates();
            SetTestOrProd.MyProductObject.GetProducts();

            FileStream fs = new FileStream(@"..\..\..\Documents\log.txt", FileMode.OpenOrCreate);

            fs.Close();
        }
コード例 #2
0
 public static void Start()
 {
     SetTestOrProd.SetTestOrProdMode(TestMode);
     SetTestOrProd.MyStatesObject.GetStates();
     SetTestOrProd.MyProductObject.GetProducts();
 }
コード例 #3
0
ファイル: Startup.cs プロジェクト: fishmatt33/ClassProjects
 /// <summary>
 /// Set test or prod mode, based on a bool obtained from app settings
 /// </summary>
 public static void Start()
 {
     SetTestOrProd.SetTestOrProdMode(TestMode);
     firstRun = false;
 }