Exemple #1
0
        internal static XamlTypeName ParseInternal(string typeName, GenericTypeNamePartDelimeter genericTypeNamePartDelimeter, Func <string, string> prefixResolver, out string error)
        {
            XamlTypeName name = GenericTypeNameParser.ParseIfTrivalName(typeName, genericTypeNamePartDelimeter, prefixResolver, out error);

            if (name != null)
            {
                return(name);
            }
            GenericTypeNameParser parser = new GenericTypeNameParser(prefixResolver);

            return(parser.ParseName(typeName, genericTypeNamePartDelimeter, out error));
        }
Exemple #2
0
        internal static IList <XamlTypeName> ParseListInternal(string typeNameList, GenericTypeNamePartDelimeter genericTypeNamePartDelimeter, Func <string, string> prefixResolver, out string error)
        {
            GenericTypeNameParser parser = new GenericTypeNameParser(prefixResolver);

            return(parser.ParseList(typeNameList, genericTypeNamePartDelimeter, out error));
        }