public void Initialize() { places = new FamilySearchStateFactory().NewPlacesState(new Uri("https://sandbox.familysearch.org/platform/collections/places")); places.AuthenticateViaOAuth2Password(Resources.TestUserName, Resources.TestPassword, Resources.TestClientId); places = (FamilySearchPlaces)places.Get(); placeTypes = places.ReadPlaceTypes(); list = placeTypes.GetVocabElementList(); }
public void Initialize() { places = new FamilySearchPlaces(true); places.AuthenticateViaOAuth2Password(Resources.TestUserName, Resources.TestPassword, Resources.TestClientId); }