Exemple #1
0
        IMemberSerializer Property(IConverter converter, IMember profile, IMemberAccess access)
        {
            var alteration = new DelegatedAlteration <object>(access.Get);
            var serializer = new ConverterProperty <object>(converter, profile).Adapt();
            var member     = new MemberSerializer(profile, access, serializer, new MemberWriter(access, serializer));
            var runtime    = _runtime.Get(profile.Metadata);
            var property   = (IMemberSerializer) new PropertyMemberSerializer(member);

            return(runtime != null
                                       ? new RuntimeSerializer(new AlteredSpecification <object>(alteration, runtime),
                                                               property, Content(profile, access))
                                       : property);
        }
Exemple #2
0
 set => this.SetValue(ConverterProperty, value);
Exemple #3
0
 set => SetValue(ConverterProperty, value);