/// <summary> /// Sets the state service factory. /// </summary> /// <param name="stateServiceFactory">The state service factory.</param> public static void SetStateServiceFactory(IStateServiceFactory stateServiceFactory) { _instance = new StateServiceProvider(stateServiceFactory); }