Esempio n. 1
0
 // ReSharper disable once TooManyDependencies
 public EnumerableAwareSerializers(IsEnumerableElement specification, IContents contents,
                                   IAlteration <TypeInfo> element, ISerializers previous)
 {
     _specification = specification;
     _contents      = contents;
     _element       = element;
     _previous      = previous;
 }
 public ListSerializer(ISerializer serializer, ISerializers serializers, IMemberSerializer @default,
                       IMemberSerializer item, IIdentity identity, ILists lists, TypeInfo type)
 {
     _serializer  = serializer;
     _serializers = serializers;
     _default     = @default;
     _item        = item;
     _identity    = identity;
     _lists       = lists;
     _type        = type;
 }
 public MemberSerializers(ISpecification <MemberInfo> content, ISerializer serializer, IIdentities identities,
                          ISerializers serializers, IMemberSerializers members, IConverters converters,
                          IContentMember member)
 {
     _content     = content;
     _serializer  = serializer;
     _identities  = identities;
     _serializers = serializers;
     _members     = members;
     _converters  = converters;
     _member      = member;
 }
 public ListSerializer(ISerializer serializer, ISerializers serializers, IMemberSerializer @default,
                       IMemberSerializer item, IIdentity identity, TypeInfo type)
     : this(serializer, serializers, @default, item, identity, Lists.Get(type)(), type)
 {
 }
 public MemberSerializers(ISerializer serializer, IIdentities identities, ISerializers serializers,
                          IMemberSerializers members, IConverters converters, IContentMember member)
     : this(IsDefinedSpecification <XmlTextAttribute> .Default, serializer, identities, serializers, members,
            converters, member)
 {
 }
 public MemberSerializers(ISerializer serializer, IIdentities identities, ISerializers serializers,
                          IMemberSerializers members, IConverters converters, IContentMember member)
     : this(IsContent.Instance, serializer, identities, serializers, members, converters, member)
 {
 }
Esempio n. 7
0
 public EnumerableAwareSerializers(IsEnumerableElement specification, IContents contents,
                                   ISerializers previous)
     : this(specification, contents, EnumerableElementType.Instance, previous)
 {
 }