示例#1
0
        public override void LoadData()
        {
            if (!IsLoaded)
            {
                IsLoaded = true;
                var tempData = DataContainer.Load <CurrenciesData>();
                if (tempData != null)
                {
                    CurrenciesData = tempData;
                }

                TryAddDefaultCurrencies();
            }
        }
示例#2
0
 protected override void BuildDefaultData()
 {
     FileName       = "Currencies";
     CurrenciesData = new CurrenciesData();
 }