Exemple #1
0
        public AppLink(Uri address)
        {
            if (address is null)
            {
                throw new ArgumentNullException(nameof(address));
            }

            Address = address;
            AppId   = SteamLinkHelper.ExtractAppId(address);
        }
Exemple #2
0
 // TODO: Implement other stuff (price, title extraction, etc.)
 public AppPage(Uri address, HtmlDocument pageHtml)
     : base(address, pageHtml, HtmlElements.Link)
 {
     AppId     = SteamLinkHelper.ExtractAppId(address);
     BannerUrl = ExtractBannerUrl();
 }