public static async Task <TwitterData> LoadTwitterDataAsync() { return(await DataSerializer.DataContractDeselializeAsync("TwitterData", typeof(TwitterData)) as TwitterData); }
public static async Task SaveTwitterDataAsync(TwitterData data) { ApplicationData.Current.LocalSettings.Values["TwitterDataInitializeCompleted"] = true; await DataSerializer.DataContractSerializeAsync("TwitterData", typeof(TwitterData), data); }