Skip to main content

Definition

Assembly: Microsoft.OData.Mcp.AspNetCore.dll Namespace: Microsoft.OData.Mcp.AspNetCore.Hosting Inheritance: System.Object

Syntax

Summary

Host-lifetime state for in-process OData execution. AddODataMcp registers this disabled; UseODataMcp is the on switch.

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

IsEnabled

Gets or sets a value indicating whether UseODataMcp has turned the host on.

Syntax

Property Value

Type: bool

Pipeline

Gets or sets the captured application RequestDelegate, set by ODataMcpPipelineStartupFilter at host start. Capture always runs; execution still requires ODataMcpPipeline.IsEnabled.

Syntax

Property Value

Type: Microsoft.AspNetCore.Http.RequestDelegate?

Methods

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?