Exemplo n.º 1
0
        public string GetFullyQualifiedTypeFromPath(string path)
        {
            string replace = path.ToLower().Replace("~", Namespace.ToLower());

            if (!string.IsNullOrEmpty(VirtualPath))
            {
                replace = replace.Replace(VirtualPath.ToLower(), "");
            }
            return(replace.Replace("/", ".").ToLower());
        }
 public override bool IsMappedPath(string path)
 {
     return(path.ToLower().StartsWith(VirtualPath.ToLower()));
 }