SenseNet.Portal.Site.IsRequested C# (CSharp) Method

IsRequested() public method

public IsRequested ( Uri uri ) : bool
uri System.Uri
return bool
		public bool IsRequested(Uri uri)
		{
			string url = uri.GetComponents(UriComponents.HostAndPort | UriComponents.Path, UriFormat.Unescaped);
			foreach (string key in UrlList.Keys)
				if (url.StartsWith(key))
					return true;
			return false;
		}
    }