Esempio n. 1
0
        internal static Server GetServer(Api api)
        {
            switch (api)
            {
            case Api.Analytics:
                return(EnvironmentSettingsLocalStorage.GetAnalyticsServer());

            default:
                return(Server.Tech);
            }
        }
Esempio n. 2
0
        internal static void SaveRemoteConfigServer(Server server, Api api)
        {
            switch (api)
            {
            case Api.RemoteConfig:
                EnvironmentSettingsLocalStorage.SaveRemoteConfigServer(server);
                break;

            case Api.Analytics:
                EnvironmentSettingsLocalStorage.SaveAnalyticsServer(server);
                break;
            }
        }