public ClassicDictionaryContents(IInnerContentServices contents, IDictionaryEnumerators enumerators, IDictionaryEntries entries) { _contents = contents; _enumerators = enumerators; _entries = entries; }
public CollectionContents(IMemberSerializations serializations, IEnumerators enumerators, IInnerContentServices contents) { _serializations = serializations; _enumerators = enumerators; _contents = contents; }
// ReSharper disable once TooManyDependencies public ArrayReader(IInnerContentServices services, IClassification classification, TypeInfo elementType, IReader item) : this(classification, elementType, services.CreateContents <ArrayList>(new CollectionInnerContentHandler(item, services))) { }
public CollectionContents(IInstanceMemberSerializations instances, IEnumerators enumerators, IInnerContentServices contents) { _instances = instances; _enumerators = enumerators; _contents = contents; }
public Reader(IInnerContentServices services, IReader item) : this(services.CreateContents <Collection <T> >(new ConditionalInnerContentHandler(services, new CollectionInnerContentHandler(item, services)))) { }
public DictionaryContents(IInstanceMemberSerializations instances, IDictionaryEnumerators enumerators, IDictionaryEntries entries, IInnerContentServices contents) { _instances = instances; _enumerators = enumerators; _entries = entries; _contents = contents; }
public DictionaryContents(IMemberSerializations serializations, IDictionaryEnumerators enumerators, IDictionaryEntries entries, IInnerContentServices contents) { _serializations = serializations; _enumerators = enumerators; _entries = entries; _contents = contents; }
public DictionaryEntries(Func <IEnumerable <IMemberSerializer>, IMemberSerialization> builder, IInnerContentServices contents, IMemberSerializers serializers, IMembers members, IWriter element, IDictionaryPairTypesLocator locator) { _builder = builder; _contents = contents; _members = members; _serializers = serializers; _element = element; _locator = locator; }
public DictionaryEntries(IInnerContentServices contents, Element element, IMembers members, IMemberSerializers serializers) : this(MemberSerializationBuilder.Default.Get, contents, serializers, members, element.Get(Type), Pairs) { }
public ArrayContents(IInnerContentServices contents, IEnumerators enumerators, IClassification classification) { _contents = contents; _enumerators = enumerators; _classification = classification; }
//public static ISerializer<T> Adapt<T>(this ISerializer @this) => new SerializerAdapter<T>(@this); /* public static IWriter<T> Adapt<T>(this IWriter @this) => new WriterAdapter<T>(@this); * * public static IReader Adapt<T>(this IReader<T> @this) => new GenericReaderAdapter<T>(@this); * public static IReader<T> Adapt<T>(this IReader @this) => new ReaderAdapter<T>(@this);*/ public static IReader <T> CreateContents <T>(this IInnerContentServices @this, IInnerContentHandler parameter) => new ReaderAdapter <T>(@this.Create(Support <T> .Key, parameter));
public MemberedContents(IMemberSerializations serializations, IInnerContentServices services) { _serializations = serializations; _services = services; }
public ClassicCollectionContents(IInnerContentServices contents, IEnumerators enumerators) { _contents = contents; _enumerators = enumerators; }
public ImmutableArrayContents(IInnerContentServices contents, IEnumerators enumerators) { _contents = contents; _enumerators = enumerators; }
public MemberedContents(IInstanceMemberSerializations instances, IInnerContentServices services) { _instances = instances; _services = services; }
public CollectionInnerContentHandler(IReader item, IInnerContentServices services) : this(services, item, services) { }