public MarkupExtensionAwareSerializer(Parser <MarkupExtensionParts> parser, IMarkupExtensions container,
                                       ContentModel.ISerializer serializer)
 {
     _parser     = parser;
     _container  = container;
     _serializer = serializer;
 }
Esempio n. 2
0
 public Serializer(ISpecification <object> conditions, IReferences references,
                   ContentModel.ISerializer container)
 {
     _conditions = conditions;
     _references = references;
     _container  = container;
 }
Esempio n. 3
0
 public AlteredMemberContents(ISpecification <MemberInfo> specification, ISpecification <IConverter> assigned,
                              IAlteration <IConverter> alteration,
                              IMemberContents contents, IConverters converters, ContentModel.ISerializer content)
 {
     _specification = specification;
     _assigned      = assigned;
     _alteration    = alteration;
     _contents      = contents;
     _converters    = converters;
     _content       = content;
 }
Esempio n. 4
0
 public ListSerializer(ContentModel.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;
 }
Esempio n. 5
0
 public MemberSerializers(ISpecification <MemberInfo> content, ContentModel.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;
 }
Esempio n. 6
0
 public static ITypeConfiguration <T> Register <T>(this ITypeConfiguration <T> @this, ContentModel.ISerializer serializer)
 => @this.Register().Serializer().Using(serializer);
 public Serializer(IMigrator migrator, ContentModel.ISerializer serializer)
 {
     _migrator   = migrator;
     _serializer = serializer;
 }
Esempio n. 8
0
 public Serializer(ContentAlteration alteration, ContentModel.ISerializer serializer) : this(alteration.Read,
                                                                                             alteration.Write,
                                                                                             serializer)
 {
 }
 public DeferredReferenceSerializer(IReservedItems reserved, ContentModel.ISerializer serializer)
 {
     _reserved   = reserved;
     _serializer = serializer;
 }
Esempio n. 10
0
 public MemberSerializers(ContentModel.ISerializer serializer, IIdentities identities, ISerializers serializers,
                          IMemberSerializers members, IConverters converters, IContentMember member)
     : this(IsDefinedSpecification <XmlTextAttribute> .Default, serializer, identities, serializers, members,
            converters, member)
 {
 }
Esempio n. 11
0
 public Container(ContentModel.ISerializer serializer) => _serializer = serializer;
Esempio n. 12
0
 public Serializer(ISpecification <object> conditions, IRootInstances instances, ContentModel.ISerializer container)
 {
     _conditions = conditions;
     _instances  = instances;
     _container  = container;
 }
Esempio n. 13
0
 public Serializer(ISpecification <object> specification, ContentModel.ISerializer serializer)
 {
     _specification = specification;
     _serializer    = serializer;
 }
Esempio n. 14
0
 public Serializer(ContentModel.ISerializer serializer, IConverter converter)
 {
     _serializer = serializer;
     _converter  = converter;
 }
Esempio n. 15
0
 public static IMemberConfiguration <T, TMember> Register <T, TMember>(this IMemberConfiguration <T, TMember> @this,
                                                                       ContentModel.ISerializer serializer)
 => @this.Root.With <CustomSerializationExtension>()
 .Members.Apply(@this.GetMember(), serializer)
 .Return(@this);
 public MarkupExtensionAwareSerializer(IMarkupExtensions container, ContentModel.ISerializer serializer)
     : this(MarkupExtensionParser.Default, container, serializer)
 {
 }
Esempio n. 17
0
 public ListSerializer(ContentModel.ISerializer serializer, ISerializers serializers, IMemberSerializer @default,
                       IMemberSerializer item, IIdentity identity, TypeInfo type)
     : this(serializer, serializers, @default, item, identity, Lists.Get(type)(), type)
 {
 }
Esempio n. 18
0
 public DeferredReferenceSerializer(ContentModel.ISerializer serializer) : this(ReservedItems.Default, serializer)
 {
 }
Esempio n. 19
0
 public DeferredReferenceContent(IRootReferences references, ContentModel.ISerializer serializer)
     : this(ReservedItems.Default, references, serializer)
 {
 }
Esempio n. 20
0
 public Serializer(IAlteration <object> read, IAlteration <object> write, ContentModel.ISerializer serializer)
 {
     _read       = read;
     _write      = write;
     _serializer = serializer;
 }
Esempio n. 21
0
 public DeferredReferenceContent(IReservedItems reserved, IRootReferences references, ContentModel.ISerializer serializer)
 {
     _reserved   = reserved;
     _references = references;
     _serializer = serializer;
 }
Esempio n. 22
0
 public ContentModel.ISerializer Get(ContentModel.ISerializer parameter) => new MarkupExtensionAwareSerializer(_container, parameter);
Esempio n. 23
0
 public AlteredMemberContents(ISpecification <MemberInfo> specification, IAlteration <IConverter> alteration,
                              IMemberContents contents, IConverters converters, ContentModel.ISerializer content)
     : this(specification, AssignedSpecification, alteration, contents, converters, content)
 {
 }