Compartilhar via


ODataResourceDeserializer.ApplyNestedProperties Método

Definição

Desserializa as propriedades aninhadas de resourceWrapper em resource.

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

Parâmetros

resource
Object

O objeto no qual as propriedades aninhadas devem ser lidas.

resourceWrapper
ODataResourceWrapper

O objeto de recurso que contém as propriedades aninhadas.

structuredType
IEdmStructuredTypeReference

Tipo do recurso.

readContext
ODataDeserializerContext

O contexto do desserializador.

Aplica-se a