public ISerializer Get(TypeInfo parameter) { var members = _instances.Get(parameter); var reader = _services.Create(parameter, new MemberInnerContentHandler(_instances.Get(parameter), _services, _services)); var result = new Serializer(reader, new MemberListWriter(members)); return(result); }
public ISerializer Get(TypeInfo parameter) { var members = _instances.Get(parameter); var entry = _entries.Get(parameter); var handler = new CollectionWithMembersInnerContentHandler(new MemberInnerContentHandler(_instances.Get(parameter), _contents, _contents), new CollectionInnerContentHandler(entry, _contents)); var reader = _contents.Create(parameter, handler); var writer = new MemberedCollectionWriter(new MemberListWriter(members), new EnumerableWriter(_enumerators, entry).Adapt()); var result = new Serializer(reader, writer); return(result); }
public ISerializer Get(CollectionContentInput parameter) { var serialization = _instances.Get(parameter.Classification); var handler = new CollectionWithMembersInnerContentHandler(new MemberInnerContentHandler(serialization, _contents, _contents), new CollectionInnerContentHandler(parameter.Item, _contents)); var reader = _contents.Create(parameter.Classification, handler); var writer = new MemberedCollectionWriter(new MemberListWriter(serialization), new EnumerableWriter(_enumerators, parameter.Item).Adapt()); var result = new Serializer(reader, writer); return(result); }