Compartilhar via


ODataResourceDeserializer.ReadResource Método

Definição

Desserializa o determinado resourceWrapper sob o especificado readContext.

public virtual object ReadResource (Microsoft.AspNet.OData.Formatter.Deserialization.ODataResourceWrapper resourceWrapper, Microsoft.OData.Edm.IEdmStructuredTypeReference structuredType, Microsoft.AspNet.OData.Formatter.Deserialization.ODataDeserializerContext readContext);
abstract member ReadResource : Microsoft.AspNet.OData.Formatter.Deserialization.ODataResourceWrapper * Microsoft.OData.Edm.IEdmStructuredTypeReference * Microsoft.AspNet.OData.Formatter.Deserialization.ODataDeserializerContext -> obj
override this.ReadResource : Microsoft.AspNet.OData.Formatter.Deserialization.ODataResourceWrapper * Microsoft.OData.Edm.IEdmStructuredTypeReference * Microsoft.AspNet.OData.Formatter.Deserialization.ODataDeserializerContext -> obj
Public Overridable Function ReadResource (resourceWrapper As ODataResourceWrapper, structuredType As IEdmStructuredTypeReference, readContext As ODataDeserializerContext) As Object

Parâmetros

resourceWrapper
ODataResourceWrapper

O recurso OData a ser desserializado.

structuredType
IEdmStructuredTypeReference

O tipo do recurso a ser desserializado.

readContext
ODataDeserializerContext

O contexto do desserializador.

Retornos

O recurso desserializado.

Aplica-se a