DynamoDBGrainStorageServiceCollectionExtensions.AddDynamoDBGrainStorageAsDefault 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
AddDynamoDBGrainStorageAsDefault(IServiceCollection, Action<OptionsBuilder<DynamoDBStorageOptions>>) |
配置 silo 以使用 AWS DynamoDB 存储作为默认粒度存储。 |
AddDynamoDBGrainStorageAsDefault(IServiceCollection, Action<DynamoDBStorageOptions>) |
配置 silo 以使用 AWS DynamoDB 存储作为默认粒度存储。 |
AddDynamoDBGrainStorageAsDefault(IServiceCollection, Action<OptionsBuilder<DynamoDBStorageOptions>>)
配置 silo 以使用 AWS DynamoDB 存储作为默认粒度存储。
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddDynamoDBGrainStorageAsDefault (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.DynamoDBStorageOptions>> configureOptions = default);
static member AddDynamoDBGrainStorageAsDefault : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.DynamoDBStorageOptions>> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddDynamoDBGrainStorageAsDefault (services As IServiceCollection, Optional configureOptions As Action(Of OptionsBuilder(Of DynamoDBStorageOptions)) = Nothing) As IServiceCollection
参数
- services
- IServiceCollection
- configureOptions
- Action<OptionsBuilder<DynamoDBStorageOptions>>
返回
适用于
AddDynamoDBGrainStorageAsDefault(IServiceCollection, Action<DynamoDBStorageOptions>)
配置 silo 以使用 AWS DynamoDB 存储作为默认粒度存储。
public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddDynamoDBGrainStorageAsDefault (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Orleans.Configuration.DynamoDBStorageOptions> configureOptions);
static member AddDynamoDBGrainStorageAsDefault : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Orleans.Configuration.DynamoDBStorageOptions> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddDynamoDBGrainStorageAsDefault (services As IServiceCollection, configureOptions As Action(Of DynamoDBStorageOptions)) As IServiceCollection
参数
- services
- IServiceCollection
- configureOptions
- Action<DynamoDBStorageOptions>