Skip to main content

Definition

Assembly: Microsoft.Extensions.DependencyInjection.Abstractions.dll Namespace: Microsoft.Extensions.DependencyInjection

Syntax

Summary

This type is defined in Microsoft.Extensions.DependencyInjection.Abstractions.

Remarks

See Microsoft documentation for more information about the rest of the API.

Methods

AddInMemoryAuthenticatedTaskStore Extension

Extension method from Microsoft.Extensions.DependencyInjection.McpEssentials_Core_ServiceCollectionExtensions

Syntax

Parameters

Returns

Type: Microsoft.Extensions.DependencyInjection.IServiceCollection

AddInMemoryAuthenticatedTaskStore Extension

Extension method from Microsoft.Extensions.DependencyInjection.McpEssentials_Core_ServiceCollectionExtensions

Syntax

Parameters

Returns

Type: Microsoft.Extensions.DependencyInjection.IServiceCollection

AddInMemoryAuthenticatedTaskStore Extension

Extension method from Microsoft.Extensions.DependencyInjection.McpEssentials_Core_ServiceCollectionExtensions

Syntax

Parameters

Returns

Type: Microsoft.Extensions.DependencyInjection.IServiceCollection

AddMcpEssentialsEntityFrameworkTasks Extension

Extension method from Microsoft.Extensions.DependencyInjection.McpEssentials_EntityFrameworkCore_ServiceCollectionExtensions
Registers EntityFrameworkAuthenticatedTaskStore1as the singletonIMcpTaskStore` and IPerUserMcpTaskStore for a single user.

Syntax

Parameters

Returns

Type: Microsoft.Extensions.DependencyInjection.IServiceCollection The service collection.

Type Parameters

Exceptions

AddMcpEssentialsEntityFrameworkTasks Extension

Extension method from Microsoft.Extensions.DependencyInjection.McpEssentials_EntityFrameworkCore_ServiceCollectionExtensions
Registers EntityFrameworkAuthenticatedTaskStore1as the singletonIMcpTaskStore` and IPerUserMcpTaskStore.

Syntax

Parameters

Returns

Type: Microsoft.Extensions.DependencyInjection.IServiceCollection The service collection.

Type Parameters

Exceptions

AddMcpEssentialsEntityFrameworkTasks Extension

Extension method from Microsoft.Extensions.DependencyInjection.McpEssentials_EntityFrameworkCore_ServiceCollectionExtensions
Registers EntityFrameworkAuthenticatedTaskStore1` using a ClaimsPrincipal factory resolved from the built provider.

Syntax

Parameters

Returns

Type: Microsoft.Extensions.DependencyInjection.IServiceCollection The service collection.

Type Parameters

Exceptions