public static WebSocketServiceCreator GetInstance() { if (_instance == null) { lock (Locker) { if (_instance == null) { _instance = new WebSocketServiceCreator(); } } } return(_instance); }