Partager via


ODataResourceDeserializer.ApplyInstanceAnnotations Méthode

Définition

Désérialise les annotations d’instance à partir de resourceWrapperresource.

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)

Paramètres

resource
Object

Objet dans lequel les annotations doivent être lues.

resourceWrapper
ODataResourceWrapper

Objet de ressource contenant les annotations.

structuredType
IEdmStructuredTypeReference

Type de la ressource.

readContext
ODataDeserializerContext

Contexte du désérialiseur.

S’applique à