/// <summary> /// Sets the URL. /// </summary> public void ParseWiki() { this.WikiUrl = PoeDBHelper.CreateItemUri(this.Name); this.SetImageUrl(); this.SetLocation(); }
/// <summary> /// Sets the image URL. /// </summary> private void SetImageUrl() { try { this.ImageUrl = WikiHelper.GetItemImageUrl(this.Name); if (this.ImageUrl == null) { this.ImageUrl = PoeDBHelper.GetItemImageUrl(this.Name); } } catch (InvalidOperationException) { } }