Пример #1
0
        /// <summary>
        /// Sets the URL.
        /// </summary>
        public void ParseWiki()
        {
            this.WikiUrl = PoeDBHelper.CreateItemUri(this.Name);

            this.SetImageUrl();
            this.SetLocation();
        }
Пример #2
0
 /// <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)
     {
     }
 }