Пример #1
0
 private void LoadCustomConfiguration()
 {
     if (!FacebookRegexConfiguration.LoadCustomRegexes())
     {
         FacebookRegexConfiguration.LoadDefaults();
     }
 }
Пример #2
0
        public void LoadDefaultsExecuted(object args)
        {
            FacebookRegexConfiguration.LoadDefaults();

            FacebookQueryUrl = FacebookRegexConfiguration.FacebookQueryURL;
            ExtractUsernamesFromProfilePage          = FacebookRegexConfiguration.ExtractUserNamesFromProfilePageRegex;
            GetRealNameFromProfilePage               = FacebookRegexConfiguration.GetRealNameFromProfilePageRegex;
            GetProfilePhotoFromProfilePage           = FacebookRegexConfiguration.GetProfilePhotoFromProfilePageRegex;
            GetProfilePhotoFromProfilePageSecondPass = FacebookRegexConfiguration.GetProfilePhotoFromProfilePageSecondPassRegex;
            GetProfileIntroCardsFromProfilePage      = FacebookRegexConfiguration.GetProfileIntroCardFromProfilePageRegex;
            GetDetailsFromIntroCards           = FacebookRegexConfiguration.GetDetailsFromIntroCardRegex;
            GetDetailsFromIntroCardsSecondPass = FacebookRegexConfiguration.GetDetailsFromIntroCardSecondPassRegex;
            GetLinksFromFindFriendsPage        = FacebookRegexConfiguration.GetLinksFromFindFriendsPageRegex;
            MessageBox.Show("Defaults Loaded");
        }
Пример #3
0
        private void LoadCustomConfiguration()
        {
            if (!FacebookRegexConfiguration.LoadCustomRegexes())
            {
                FacebookRegexConfiguration.LoadDefaults();
            }

            FacebookQueryUrl = FacebookRegexConfiguration.FacebookQueryURL;
            ExtractUsernamesFromProfilePage          = FacebookRegexConfiguration.ExtractUserNamesFromProfilePageRegex;
            GetRealNameFromProfilePage               = FacebookRegexConfiguration.GetRealNameFromProfilePageRegex;
            GetProfilePhotoFromProfilePage           = FacebookRegexConfiguration.GetProfilePhotoFromProfilePageRegex;
            GetProfilePhotoFromProfilePageSecondPass = FacebookRegexConfiguration.GetProfilePhotoFromProfilePageSecondPassRegex;
            GetProfileIntroCardsFromProfilePage      = FacebookRegexConfiguration.GetProfileIntroCardFromProfilePageRegex;
            GetDetailsFromIntroCards           = FacebookRegexConfiguration.GetDetailsFromIntroCardRegex;
            GetDetailsFromIntroCardsSecondPass = FacebookRegexConfiguration.GetDetailsFromIntroCardSecondPassRegex;
            GetLinksFromFindFriendsPage        = FacebookRegexConfiguration.GetLinksFromFindFriendsPageRegex;
        }