public void SetBoolean(string collection, string propertyName, bool value) { NuGetUIThreadHelper.JoinableTaskFactory.Run(async() => { await NuGetUIThreadHelper.JoinableTaskFactory.SwitchToMainThreadAsync(); _store.SetBool(collection, propertyName, value ? 1 : 0); }); }
public void SetBoolean(string collection, string propertyName, bool value) { _store.SetBool(collection, propertyName, value ? 1 : 0); }