コード例 #1
0
 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();
 }
コード例 #2
0
        public void Initialize()
        {

            places = new FamilySearchPlaces(true);
            places.AuthenticateViaOAuth2Password(Resources.TestUserName, Resources.TestPassword, Resources.TestClientId);
        }