예제 #1
0
        internal String GetNormalizedPath(String path, Boolean isWrapped = false)
        {
            // check for invert
            if (path == null)
            {
                path = String.Empty;
            }
            if (path.StartsWith("!"))
            {
                return("!" + GetNormalizedPathInternal(path.Substring(1)));
            }

            if (_typeChecker != null)
            {
                _typeChecker.CheckXamlExpression(GetExpressionForChecker(path));
            }

            return(GetNormalizedPathInternal(path, isWrapped));
        }