private void LoadCustomConfiguration() { if (!FacebookRegexConfiguration.LoadCustomRegexes()) { FacebookRegexConfiguration.LoadDefaults(); } }
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"); }
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; }