Exemplo n.º 1
0
        protected virtual XamlValueConverter <ValueSerializer> LookupValueSerializer()
        {
            if (Type == null)
            {
                return(null);
            }

            return(XamlType.LookupValueSerializer(Type, CustomAttributeProvider) ?? Type.ValueSerializer);
        }
Exemplo n.º 2
0
        protected virtual XamlValueConverter <ValueSerializer> LookupValueSerializer()
        {
            if (is_predefined_directive)             // FIXME: this is likely a hack.
            {
                return(null);
            }
            if (Type == null)
            {
                return(null);
            }

            return(XamlType.LookupValueSerializer(Type, LookupCustomAttributeProvider()) ?? Type.ValueSerializer);
        }