Definition
Assembly: Microsoft.OData.Mcp.Core.dll Namespace: Microsoft.OData.Mcp.Core.Services Inheritance: Microsoft.Extensions.Hosting.BackgroundServiceSyntax
Summary
Background service that refreshes OData models when dynamic models are enabled.Constructors
.ctor
Initializes a new instance of the DynamicModelRefreshService class.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
serviceProvider | System.IServiceProvider | The service provider. |
logger | Microsoft.Extensions.Logging.ILogger<Microsoft.OData.Mcp.Core.Services.DynamicModelRefreshService> | The logger. |
options | Microsoft.OData.Mcp.Core.ODataMcpOptions | The MCP options. |