예제 #1
0
 public MemberSerializers(IAttributeSpecifications runtime, IMemberAccessors accessors,
                          IMemberConverters converters, IMemberContents content)
 {
     _runtime    = runtime;
     _accessors  = accessors;
     _converters = converters;
     _content    = content;
 }
예제 #2
0
 public AlteredMemberContents(ISpecification <MemberInfo> specification, ISpecification <IConverter> assigned,
                              IAlteration <IConverter> alteration,
                              IMemberContents contents, IConverters converters, ISerializer content)
 {
     _specification = specification;
     _assigned      = assigned;
     _alteration    = alteration;
     _contents      = contents;
     _converters    = converters;
     _content       = content;
 }
예제 #3
0
 // ReSharper disable once TooManyDependencies
 public MemberSerializers(IAttributeSpecifications runtime, IMemberAccessors accessors,
                          IMemberConverters converters, IMemberContents content, IIdentityStore identities,
                          ITypes types, IIdentifiers identifiers)
 {
     _runtime     = runtime;
     _accessors   = accessors;
     _converters  = converters;
     _content     = content;
     _identities  = identities;
     _types       = types;
     _identifiers = identifiers;
 }
예제 #4
0
 IMemberContents Register(IServiceProvider services, IMemberContents contents)
 => new AlteredMemberContents(_specification, _alteration, contents, services.Get <IConverters>(),
                              services.Get <ISerializers>()
                              .Get(Support <string> .Key));
예제 #5
0
 public MemberContents(ITableSource <MemberInfo, ContentAlteration> registrations, IMemberContents contents)
 {
     _registrations = registrations;
     _contents      = contents;
 }
예제 #6
0
 public AlteredMemberContents(ISpecification <MemberInfo> specification, IAlteration <IConverter> alteration,
                              IMemberContents contents, IConverters converters, ISerializer content)
     : this(specification, AssignedSpecification, alteration, contents, converters, content)
 {
 }