예제 #1
0
        public static void Initialize()
        {
            if (_instance == null)
            {
                _instance = new TestersSingleton(_kernel.Get <IRepository>());

                Instance._initializeSoket();
                Thread t = new Thread(Instance._solutionsSending);
                t.Start();
            }
        }
예제 #2
0
 /// <summary>
 /// Controller constructor.
 /// </summary>
 public HomeController()
 {
     XmlConfigurator.Configure();
     testers = TestersSingleton.Instance;
 }
예제 #3
0
 /// <summary>
 /// Controller constructor.
 /// </summary>
 /// <param name="Repository">Repository object</param>
 public TesterController(IRepository Repository)
 {
     XmlConfigurator.Configure();
     testers = TestersSingleton.Instance;
     repository = Repository;
 }
예제 #4
0
        public static void Initialize()
        {
            if (_instance == null)
            {
                _instance = new TestersSingleton(_kernel.Get<IRepository>());

                Instance._initializeSoket();
                Thread t = new Thread(Instance._solutionsSending);
                t.Start();
            }
        }