Compartilhar via


ODataResourceDeserializer.ApplyStructuralProperties Método

Definição

Desserializa as propriedades estruturais de resourceWrapper em resource.

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

Parâmetros

resource
Object

O objeto no qual as propriedades estruturais devem ser lidas.

resourceWrapper
ODataResourceWrapper

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

structuredType
IEdmStructuredTypeReference

Tipo do recurso.

readContext
ODataDeserializerContext

O contexto do desserializador.

Aplica-se a