Alba.Jaml.MSInternal.MeScanner.ResolveTypeName C# (CSharp) Метод

ResolveTypeName() приватный Метод

private ResolveTypeName ( string longName ) : void
longName string
Результат void
        private void ResolveTypeName (string longName)
        {
            string str;
            XamlTypeName typeName = XamlTypeName.ParseInternal(longName, new Func<string, string>(this._context.FindNamespaceByPrefix), out str);
            if (typeName == null) {
                throw new XamlParseException(this, str);
            }
            string name = typeName.Name;
            typeName.Name = typeName.Name + "Extension";
            XamlType xamlType = this._context.GetXamlType(typeName, false);
            if ((xamlType == null) || ((xamlType.UnderlyingType != null) && KS.Eq(xamlType.UnderlyingType.Name, typeName.Name + "Extension"))) {
                typeName.Name = name;
                xamlType = this._context.GetXamlType(typeName, true);
            }
            this._tokenXamlType = xamlType;
            this._tokenNamespace = typeName.Namespace;
        }