public ProfileClient(string profilePath) { ProfileClient.UpgradeProfile(); Profile = new AzureProfile(DataStore, profilePath); WarningLog = (s) => Debug.WriteLine(s); }
public ProfileClient(string profilePath) { try { ProfileClient.UpgradeProfile(); Profile = new AzureProfile(DataStore, profilePath); } catch { // Should never fail in constructor } WarningLog = (s) => Debug.WriteLine(s); }