using Resources;
#pragma warning disable 1591
//------------------------------------------------------------------------------
//
// This code was generated by a tool.
// Runtime Version:4.0.30319.235
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
//------------------------------------------------------------------------------
namespace Microsoft.Web.Helpers
{
using System;
using System.Collections.Generic;
#line 3 "..\..\Bing.cshtml"
using System.Globalization;
#line default
#line hidden
using System.IO;
using System.Linq;
using System.Net;
using System.Text;
#line 4 "..\..\Bing.cshtml"
using System.Web;
#line default
#line hidden
using System.Web.Helpers;
using System.Web.Security;
using System.Web.UI;
using System.Web.WebPages;
using System.Web.WebPages.Html;
#line 5 "..\..\Bing.cshtml"
using System.Web.WebPages.Scope;
#line default
#line hidden
#line 6 "..\..\Bing.cshtml"
using Microsoft.Internal.Web.Utils;
#line default
#line hidden
public class Bing : System.Web.WebPages.HelperPage
{
#line 8 "..\..\Bing.cshtml"
private const string DefaultBoxWidth = "322px";
internal static readonly object _siteTitleKey = new object();
internal static readonly object _siteUrlKey = new object();
public static string SiteTitle {
get {
return ScopeStorage.CurrentScope[_siteTitleKey] as string;
}
set {
if (value == null) {
throw new ArgumentNullException("SiteTitle");
}
ScopeStorage.CurrentScope[_siteTitleKey] = value;
}
}
public static string SiteUrl {
get {
return ScopeStorage.CurrentScope[_siteUrlKey] as string;
}
set {
if (value == null) {
throw new ArgumentNullException("SiteUrl");
}
ScopeStorage.CurrentScope[_siteUrlKey] = value;
}
}
private static int GetCodePageFromRequest(HttpContextBase httpContext) {
return httpContext.Response.ContentEncoding.CodePage;
}
private static string GetSiteUrl(IDictionary