DynamoDBGrainStorageServiceCollectionExtensions.AddDynamoDBGrainStorage Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
AddDynamoDBGrainStorage(IServiceCollection, String, Action<OptionsBuilder<DynamoDBStorageOptions>>) |
Configure silo to use AWS DynamoDB storage for grain storage. |
AddDynamoDBGrainStorage(IServiceCollection, String, Action<DynamoDBStorageOptions>) |
Configure silo to use AWS DynamoDB storage for grain storage. |
AddDynamoDBGrainStorage(IServiceCollection, String, Action<OptionsBuilder<DynamoDBStorageOptions>>)
Configure silo to use AWS DynamoDB storage for grain storage.
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddDynamoDBGrainStorage (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, string name, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.DynamoDBStorageOptions>> configureOptions = default);
static member AddDynamoDBGrainStorage : Microsoft.Extensions.DependencyInjection.IServiceCollection * string * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.DynamoDBStorageOptions>> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddDynamoDBGrainStorage (services As IServiceCollection, name As String, Optional configureOptions As Action(Of OptionsBuilder(Of DynamoDBStorageOptions)) = Nothing) As IServiceCollection
Parameters
- services
- IServiceCollection
- name
- String
- configureOptions
- Action<OptionsBuilder<DynamoDBStorageOptions>>
Returns
Applies to
AddDynamoDBGrainStorage(IServiceCollection, String, Action<DynamoDBStorageOptions>)
Configure silo to use AWS DynamoDB storage for grain storage.
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddDynamoDBGrainStorage (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, string name, Action<Orleans.Configuration.DynamoDBStorageOptions> configureOptions);
static member AddDynamoDBGrainStorage : Microsoft.Extensions.DependencyInjection.IServiceCollection * string * Action<Orleans.Configuration.DynamoDBStorageOptions> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddDynamoDBGrainStorage (services As IServiceCollection, name As String, configureOptions As Action(Of DynamoDBStorageOptions)) As IServiceCollection
Parameters
- services
- IServiceCollection
- name
- String
- configureOptions
- Action<DynamoDBStorageOptions>