예제 #1
0
        protected virtual XamlValueConverter <ValueSerializer> LookupValueSerializer()
        {
            if (Type == null)
            {
                return(null);
            }

            return(XamlType.LookupValueSerializer(Type, CustomAttributeProvider) ?? Type.ValueSerializer);
        }
예제 #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);
        }