Esempio n. 1
0
        internal String GetTypedNormalizedPath(String path, TypeCheckerTypeCode typeCode, Boolean isWrapped = false)
        {
            // check for invert
            if (path == null)
            {
                path = String.Empty;
            }
            if (path.StartsWith("!"))
            {
                return("!" + GetNormalizedPathInternal(path.Substring(1)));
            }

            if (_typeChecker != null && typeCode != TypeCheckerTypeCode.Skip)
            {
                _typeChecker.CheckTypedXamlExpression(GetExpressionForChecker(path), typeCode);
            }

            return(GetNormalizedPathInternal(path, isWrapped));
        }