/// <summary> /// Deletes any details currently stored in the WP8 settings record /// and re-initializes them by parsing the contents of the provided URI. /// </summary> /// <remarks>The URI has to be formatted according to the one of the /// allowed WP8 settings schemes.</remarks> private void ParseUriToData(string uri) { foreach (var curScheme in SettingsSchemes.Where(curScheme => uri == curScheme.Value)) { SettingsApp = curScheme.Key; break; } // UpdatePayload() does not need to be called here - // already called by the property setter }