Beispiel #1
0
        public static string GetCurrency()
        {
            /**TO DO, IT MUST CHANGE THE ORIGINAL FORM**/
            /*return "MYR";*/
            var localizationStorageContainer = LocalizationInfoStorageContainerFactory.GetStorageContainer();

            return(localizationStorageContainer.GetCurrencyCode());
        }
Beispiel #2
0
        public static ILocalizationInfo GetCurrentLocalizationInfo()
        {
            var localizationStorageContainer = LocalizationInfoStorageContainerFactory.GetStorageContainer();

            var localizationInfo = localizationStorageContainer.GetCurrentLocalizationInfo();

            if (localizationInfo != null)
            {
                return(localizationInfo);
            }

            localizationInfo = GetNewLocalizationInfo();
            localizationStorageContainer.Store(localizationInfo);

            return(localizationInfo);
        }