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