public override void LoadData() { if (!IsLoaded) { IsLoaded = true; var tempData = DataContainer.Load <ProfileData>(); if (tempData != null) { CachedProfileData = tempData; } } }
public override void LoadData() { if (!IsLoaded) { IsLoaded = true; var tempData = DataContainer.Load <CurrenciesData>(); if (tempData != null) { CurrenciesData = tempData; } TryAddDefaultCurrencies(); } }
public override void LoadData() { if (IsLoaded) { return; } IsLoaded = true; var tempData = DataContainer.Load <OptionData>(); if (tempData != null) { CachedOptionData = tempData; } }
public override void LoadData() { if (!IsLoaded) { IsLoaded = true; var tempData = DataContainer.Load <ContainerData>(); if (tempData != null) { ContainerData = tempData; } _container.InitializeContainer(); TryInitSave(); _container.Items = ContainerData.Items; } }