/// <summary> /// Gets the Title /// </summary> /// <returns>title</returns> public string GetTitle() { TitleLink.Wait(2); if (Driver.GetType() == typeof(DummyDriver)) { TitleLink.Text = FakeText; } return(TitleLink.Text.Trim()); }
private string GetTitleLinkWithoutCompanyUrl() { // Удаление URL из заголовка типа // Не платит страховая по осаго ? / va-reshenie.ru //var titleLink = GetTitleLink(); return(TitleLink.Replace(" / " + CompanySite, "")); }
private void CreateTitles() { this.TitleLink.Clear(); string user1 = "Logged in as: " + User.ToString(); var link = new Link { DisplayName = user1, Source = new Uri("/View/introduction/IntroView.xaml", UriKind.Relative) }; TitleLink.Add(link); var link1 = new Link { DisplayName = "settings", Source = new Uri("/View/SettingsView.xaml", UriKind.Relative) }; TitleLink.Add(link1); }
public override int GetHashCode() { unchecked { var hashCode = (Title != null ? Title.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (TitleLink != null ? TitleLink.GetHashCode() : 0); hashCode = (hashCode * 397) ^ TitleLinkDownloadable.GetHashCode(); hashCode = (hashCode * 397) ^ (Text != null ? Text.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ImageUrl != null ? ImageUrl.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (AuthorName != null ? AuthorName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (AuthorIcon != null ? AuthorIcon.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ThumbUrl != null ? ThumbUrl.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Color != null ? Color.GetHashCode() : 0); hashCode = (hashCode * 397) ^ Timestamp.GetHashCode(); return(hashCode); } }
/// <summary> /// Select the title link /// </summary> public void SelectTitle() { TitleLink.Wait(3).Click(); }
public void EditTitle() { TitleLink.Click(); }