Share via


ODataResourceSetDeserializer.ReadResourceSet Method

Definition

Deserializes the given resourceSet under the given readContext.

public virtual System.Collections.IEnumerable ReadResourceSet (Microsoft.AspNet.OData.Formatter.Deserialization.ODataResourceSetWrapper resourceSet, Microsoft.OData.Edm.IEdmStructuredTypeReference elementType, Microsoft.AspNet.OData.Formatter.Deserialization.ODataDeserializerContext readContext);
abstract member ReadResourceSet : Microsoft.AspNet.OData.Formatter.Deserialization.ODataResourceSetWrapper * Microsoft.OData.Edm.IEdmStructuredTypeReference * Microsoft.AspNet.OData.Formatter.Deserialization.ODataDeserializerContext -> System.Collections.IEnumerable
override this.ReadResourceSet : Microsoft.AspNet.OData.Formatter.Deserialization.ODataResourceSetWrapper * Microsoft.OData.Edm.IEdmStructuredTypeReference * Microsoft.AspNet.OData.Formatter.Deserialization.ODataDeserializerContext -> System.Collections.IEnumerable
Public Iterator Overridable Function ReadResourceSet (resourceSet As ODataResourceSetWrapper, elementType As IEdmStructuredTypeReference, readContext As ODataDeserializerContext) As IEnumerable

Parameters

resourceSet
ODataResourceSetWrapper

The resource set to deserialize.

elementType
IEdmStructuredTypeReference

The element type of the resource set being read.

readContext
ODataDeserializerContext

The deserializer context.

Returns

The deserialized resource set object.

Applies to