Exemple #1
0
        internal string HttpResolveMapping(string path)
        {
            string     mappedUrl = null;
            string     str2      = System.Web.Util.UrlPath.MakeVirtualPathAppRelative(path);
            UrlMapping mapping   = this.UrlMappings[str2];

            if (mapping != null)
            {
                mappedUrl = mapping.MappedUrl;
            }
            return(mappedUrl);
        }
        internal string HttpResolveMapping(string path)
        {
            string result = null;

            // Convert the 'path' param to be a relative path
            string relative = UrlPath.MakeVirtualPathAppRelative(path);

            // Look it up in our map
            UrlMapping elem = UrlMappings[relative];

            if (elem != null)
            {
                result = elem.MappedUrl;
            }
            return(result);
        }
 public void Remove(UrlMapping urlMapping)
 {
 }
 public void Add(UrlMapping urlMapping)
 {
 }
 public void Remove(UrlMapping urlMapping) {
     BaseRemove(GetElementKey(urlMapping));
 }
 public void Add(UrlMapping urlMapping) {
     BaseAdd(urlMapping);
 }
 public void Remove(UrlMapping urlMapping)
 {
     base.BaseRemove(this.GetElementKey(urlMapping));
 }
 public void Add(UrlMapping urlMapping)
 {
     this.BaseAdd(urlMapping);
 }
		public void Remove (UrlMapping urlMapping)
		{
			BaseRemove (urlMapping.Url);
		}
 public void Remove(UrlMapping urlMapping)
 {
     BaseRemove(urlMapping.Url);
 }
 public void Add(UrlMapping urlMapping)
 {
     BaseAdd(urlMapping);
 }
 public void Remove(UrlMapping urlMapping)
 {
     BaseRemove(GetElementKey(urlMapping));
 }
 public void Remove(UrlMapping urlMapping)
 {
     base.BaseRemove(this.GetElementKey(urlMapping));
 }
 public void Add(UrlMapping urlMapping)
 {
     this.BaseAdd(urlMapping);
 }
 public void Remove(UrlMapping urlMapping)
 {
 }
 public void Add(UrlMapping urlMapping)
 {
 }