Definition
Assembly: CloudNimble.McpEssentials.Core.dll Namespace: CloudNimble.McpEssentials.Core.Tasks Inheritance: System.ObjectSyntax
Summary
Selects an IMcpTaskStorePlus provider forWithTasksPlus and OData
WithTasks. Core ships McpTaskStoreOptions}).
Provider packages add UseEntityFramework, UseRedis, and so on.
Constructors
.ctor
Initializes a new instance of the McpTaskStoreBuilder class.Syntax
Parameters
Exceptions
.ctor Inherited
Inherited from
objectSyntax
Properties
CapturedServices
Gets the built IServiceProvider after MCP options compose, ornull until the first request.
Syntax
Property Value
Type:System.IServiceProvider?
Services
Gets the application service collection.Syntax
Property Value
Type:Microsoft.Extensions.DependencyInjection.IServiceCollection
Store
Gets the store selected by the lastUse* call.
Syntax
Property Value
Type:CloudNimble.McpEssentials.Core.Tasks.IMcpTaskStorePlus?
Methods
Equals Inherited Virtual
Inherited from
objectSyntax
Parameters
Returns
Type:bool
Equals Inherited
Inherited from
objectSyntax
Parameters
Returns
Type:bool
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
MemberwiseClone Inherited
Inherited from
objectSyntax
Returns
Type:object
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
Returns
Type:bool
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?
UseEntityFramework Extension
Extension method from
Microsoft.Extensions.DependencyInjection.McpEssentials_EntityFrameworkCore_McpTaskStoreBuilderExtensionsEFCoreMcpTaskStore1` with a constant owner.
Syntax
Parameters
Returns
Type:CloudNimble.McpEssentials.Core.Tasks.McpTaskStoreBuilder
The builder.
Type Parameters
TContext- The host DbContext that maps McpTaskEntity.
Exceptions
UseEntityFramework Extension
Extension method from
Microsoft.Extensions.DependencyInjection.McpEssentials_EntityFrameworkCore_McpTaskStoreBuilderExtensionsEFCoreMcpTaskStore1` with an owner callback.
Syntax
Parameters
Returns
Type:CloudNimble.McpEssentials.Core.Tasks.McpTaskStoreBuilder
The builder.
Type Parameters
TContext- The host DbContext that maps McpTaskEntity.
Exceptions
UseEntityFramework Extension
Extension method from
Microsoft.Extensions.DependencyInjection.McpEssentials_EntityFrameworkCore_McpTaskStoreBuilderExtensionsEFCoreMcpTaskStore1`, resolving the owner from a principal.
Syntax
Parameters
Returns
Type:CloudNimble.McpEssentials.Core.Tasks.McpTaskStoreBuilder
The builder.
Type Parameters
TContext- The host DbContext that maps McpTaskEntity.
Exceptions
UseEntityFramework Extension
Extension method from
Microsoft.Extensions.DependencyInjection.McpEssentials_EntityFrameworkCore_McpTaskStoreBuilderExtensionsEFCoreMcpTaskStore1`, resolving the owner from the built provider.
Syntax
Parameters
Returns
Type:CloudNimble.McpEssentials.Core.Tasks.McpTaskStoreBuilder
The builder.
Type Parameters
TContext- The host DbContext that maps McpTaskEntity.
Exceptions
UseEntityFramework Extension
Extension method from
Microsoft.Extensions.DependencyInjection.McpEssentials_EntityFrameworkCore_McpTaskStoreBuilderExtensionsEFCoreMcpTaskStore1` with an owner id from the built provider.
Syntax
Parameters
Returns
Type:CloudNimble.McpEssentials.Core.Tasks.McpTaskStoreBuilder
The builder.
Type Parameters
TContext- The host DbContext that maps McpTaskEntity.
Exceptions
UseInMemory
Uses InMemoryMcpTaskStorePlus with a constant owner.Syntax
Parameters
Returns
Type:CloudNimble.McpEssentials.Core.Tasks.McpTaskStoreBuilder
This builder.
Exceptions
UseInMemory
Uses InMemoryMcpTaskStorePlus with an owner callback.Syntax
Parameters
Returns
Type:CloudNimble.McpEssentials.Core.Tasks.McpTaskStoreBuilder
This builder.
Exceptions
UseInMemory
Uses InMemoryMcpTaskStorePlus, resolving the owner from a principal.Syntax
Parameters
Returns
Type:CloudNimble.McpEssentials.Core.Tasks.McpTaskStoreBuilder
This builder.
Exceptions
UseInMemory
Uses InMemoryMcpTaskStorePlus, resolving the owner from the built IServiceProvider. ASP.NET Core hosts passsp => sp.GetRequiredService<IHttpContextAccessor>().HttpContext?.User.
Syntax
Parameters
Returns
Type:CloudNimble.McpEssentials.Core.Tasks.McpTaskStoreBuilder
This builder.
Exceptions
UseInMemory
Uses InMemoryMcpTaskStorePlus with an owner id resolved from the built IServiceProvider.Syntax
Parameters
Returns
Type:CloudNimble.McpEssentials.Core.Tasks.McpTaskStoreBuilder
This builder.
Exceptions
UseRedis Extension
Extension method from
Microsoft.Extensions.DependencyInjection.McpEssentials_Redis_McpTaskStoreBuilderExtensionsSyntax
Parameters
Returns
Type:CloudNimble.McpEssentials.Core.Tasks.McpTaskStoreBuilder
The builder.
Exceptions
UseRedis Extension
Extension method from
Microsoft.Extensions.DependencyInjection.McpEssentials_Redis_McpTaskStoreBuilderExtensionsSyntax
Parameters
Returns
Type:CloudNimble.McpEssentials.Core.Tasks.McpTaskStoreBuilder
The builder.
Exceptions
UseRedis Extension
Extension method from
Microsoft.Extensions.DependencyInjection.McpEssentials_Redis_McpTaskStoreBuilderExtensionsSyntax
Parameters
Returns
Type:CloudNimble.McpEssentials.Core.Tasks.McpTaskStoreBuilder
The builder.
Exceptions
UseRedis Extension
Extension method from
Microsoft.Extensions.DependencyInjection.McpEssentials_Redis_McpTaskStoreBuilderExtensionsSyntax
Parameters
Returns
Type:CloudNimble.McpEssentials.Core.Tasks.McpTaskStoreBuilder
The builder.
Exceptions
UseRedis Extension
Extension method from
Microsoft.Extensions.DependencyInjection.McpEssentials_Redis_McpTaskStoreBuilderExtensionsIConnectionMultiplexer from DI.
Syntax
Parameters
Returns
Type:CloudNimble.McpEssentials.Core.Tasks.McpTaskStoreBuilder
The builder.
Exceptions
UseStore
Registers store as the selected provider. Durable packages call this from theirUse* extensions.
Syntax
Parameters
Returns
Type:CloudNimble.McpEssentials.Core.Tasks.McpTaskStoreBuilder
This builder.