public override XamlType GetXamlType(Type type)
        {
            XamlType xamlType;

            if (!_typeCache.TryGetValue(type, out xamlType))
            {
                xamlType = new CoreXamlType(type, this);
                _typeCache.Add(type, xamlType);
            }

            return(xamlType);
        }
Beispiel #2
0
        public override XamlType GetXamlType(Type type)
        {
            XamlType xamlType;

            if (!_typeCache.TryGetValue(type, out xamlType))
            {
                xamlType = new CoreXamlType(type, this);
                _typeCache.Add(type, xamlType);
            }

            return xamlType;
        }