/// <summary> /// Constructor. /// </summary> /// <param name="atomInputContext">The input to read the payload from.</param> /// <param name="expectedItemTypeReference">The expected type reference for the items in the collection.</param> internal ODataAtomCollectionReader(ODataAtomInputContext atomInputContext, IEdmTypeReference expectedItemTypeReference) : base(atomInputContext, expectedItemTypeReference, null /*listener*/) { DebugUtils.CheckNoExternalCallers(); Debug.Assert(atomInputContext != null, "atomInputContext != null"); this.atomInputContext = atomInputContext; this.atomCollectionDeserializer = new ODataAtomCollectionDeserializer(atomInputContext); }
internal ODataAtomCollectionReader(ODataAtomInputContext atomInputContext, IEdmTypeReference expectedItemTypeReference) : base(atomInputContext, expectedItemTypeReference, null) { this.atomInputContext = atomInputContext; this.atomCollectionDeserializer = new ODataAtomCollectionDeserializer(atomInputContext); }