Compartilhar via


ODataResourceDeserializer.ApplyInstanceAnnotations Método

Definição

Desserializa as anotações de instância de resourceWrapper em resource.

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

Parâmetros

resource
Object

O objeto no qual as anotações devem ser lidas.

resourceWrapper
ODataResourceWrapper

O objeto de recurso que contém as anotações.

structuredType
IEdmStructuredTypeReference

Tipo do recurso.

readContext
ODataDeserializerContext

O contexto do desserializador.

Aplica-se a