Skip to main content

Definition

Assembly: Microsoft.OData.Mcp.Tools.dll Namespace: Microsoft.OData.Mcp.Tools.Services Inheritance: System.Object

Syntax

Summary

Background service that generates dynamic MCP tools based on OData metadata.

Constructors

.ctor

Initializes a new instance of the DynamicToolGeneratorService class.

Syntax

Parameters

.ctor Inherited

Inherited from object

Syntax

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

StartAsync

Starts the service and generates dynamic tools.

Syntax

Parameters

Returns

Type: System.Threading.Tasks.Task A task representing the asynchronous operation.

StopAsync

Stops the service.

Syntax

Parameters

Returns

Type: System.Threading.Tasks.Task A task representing the asynchronous operation.

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?
  • Microsoft.Extensions.Hosting.IHostedService