Jaa


ResourceContext Constructors

Definition

Overloads

ResourceContext()

Initializes a new instance of the ResourceContext class.

ResourceContext(ODataSerializerContext, IEdmStructuredTypeReference, Object)

Initializes a new instance of the ResourceContext class.

ResourceContext()

Initializes a new instance of the ResourceContext class.

public ResourceContext ();
Public Sub New ()

Applies to

ResourceContext(ODataSerializerContext, IEdmStructuredTypeReference, Object)

Initializes a new instance of the ResourceContext class.

public ResourceContext (Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializerContext serializerContext, Microsoft.OData.Edm.IEdmStructuredTypeReference structuredType, object resourceInstance);
new Microsoft.AspNet.OData.ResourceContext : Microsoft.AspNet.OData.Formatter.Serialization.ODataSerializerContext * Microsoft.OData.Edm.IEdmStructuredTypeReference * obj -> Microsoft.AspNet.OData.ResourceContext
Public Sub New (serializerContext As ODataSerializerContext, structuredType As IEdmStructuredTypeReference, resourceInstance As Object)

Parameters

serializerContext
ODataSerializerContext

The backing ODataSerializerContext.

structuredType
IEdmStructuredTypeReference

The EDM structured type of this instance context.

resourceInstance
Object

The object representing the instance of this context.

Applies to