Поделиться через


SiloHostBuilderExtensions.AddFaultInjectionMemoryStorage Метод

Определение

Перегрузки

AddFaultInjectionMemoryStorage(IServiceCollection, String, Action<OptionsBuilder<MemoryGrainStorageOptions>>, Action<OptionsBuilder<FaultInjectionGrainStorageOptions>>)

Настройка silo для использования FaultInjectionMemoryStorage

AddFaultInjectionMemoryStorage(IServiceCollection, String, Action<MemoryGrainStorageOptions>, Action<FaultInjectionGrainStorageOptions>)

Настройка silo для использования FaultInjectionMemoryStorage

AddFaultInjectionMemoryStorage(ISiloBuilder, String, Action<OptionsBuilder<MemoryGrainStorageOptions>>, Action<OptionsBuilder<FaultInjectionGrainStorageOptions>>)

Настройка silo для использования FaultInjectionMemoryStorage

AddFaultInjectionMemoryStorage(ISiloBuilder, String, Action<MemoryGrainStorageOptions>, Action<FaultInjectionGrainStorageOptions>)

Настройка silo для использования FaultInjectionMemoryStorage

AddFaultInjectionMemoryStorage(ISiloHostBuilder, String, Action<OptionsBuilder<MemoryGrainStorageOptions>>, Action<OptionsBuilder<FaultInjectionGrainStorageOptions>>)

Настройка silo для использования FaultInjectionMemoryStorage

AddFaultInjectionMemoryStorage(ISiloHostBuilder, String, Action<MemoryGrainStorageOptions>, Action<FaultInjectionGrainStorageOptions>)

Настройка silo для использования FaultInjectionMemoryStorage

AddFaultInjectionMemoryStorage(IServiceCollection, String, Action<OptionsBuilder<MemoryGrainStorageOptions>>, Action<OptionsBuilder<FaultInjectionGrainStorageOptions>>)

Исходный код:
FaultyMemoryStorage.cs

Настройка silo для использования FaultInjectionMemoryStorage

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddFaultInjectionMemoryStorage (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, string name, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.MemoryGrainStorageOptions>> configureOptions = default, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.TestingHost.FaultInjectionGrainStorageOptions>> configureFaultInjecitonOptions = default);
static member AddFaultInjectionMemoryStorage : Microsoft.Extensions.DependencyInjection.IServiceCollection * string * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.MemoryGrainStorageOptions>> * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.TestingHost.FaultInjectionGrainStorageOptions>> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddFaultInjectionMemoryStorage (services As IServiceCollection, name As String, Optional configureOptions As Action(Of OptionsBuilder(Of MemoryGrainStorageOptions)) = Nothing, Optional configureFaultInjecitonOptions As Action(Of OptionsBuilder(Of FaultInjectionGrainStorageOptions)) = Nothing) As IServiceCollection

Параметры

name
String
configureFaultInjecitonOptions
Action<OptionsBuilder<FaultInjectionGrainStorageOptions>>

Возвращаемое значение

Применяется к

AddFaultInjectionMemoryStorage(IServiceCollection, String, Action<MemoryGrainStorageOptions>, Action<FaultInjectionGrainStorageOptions>)

Исходный код:
FaultyMemoryStorage.cs

Настройка silo для использования FaultInjectionMemoryStorage

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddFaultInjectionMemoryStorage (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, string name, Action<Orleans.Configuration.MemoryGrainStorageOptions> configureOptions, Action<Orleans.TestingHost.FaultInjectionGrainStorageOptions> configureFaultInjecitonOptions);
static member AddFaultInjectionMemoryStorage : Microsoft.Extensions.DependencyInjection.IServiceCollection * string * Action<Orleans.Configuration.MemoryGrainStorageOptions> * Action<Orleans.TestingHost.FaultInjectionGrainStorageOptions> -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddFaultInjectionMemoryStorage (services As IServiceCollection, name As String, configureOptions As Action(Of MemoryGrainStorageOptions), configureFaultInjecitonOptions As Action(Of FaultInjectionGrainStorageOptions)) As IServiceCollection

Параметры

name
String
configureOptions
Action<MemoryGrainStorageOptions>
configureFaultInjecitonOptions
Action<FaultInjectionGrainStorageOptions>

Возвращаемое значение

Применяется к

AddFaultInjectionMemoryStorage(ISiloBuilder, String, Action<OptionsBuilder<MemoryGrainStorageOptions>>, Action<OptionsBuilder<FaultInjectionGrainStorageOptions>>)

Исходный код:
FaultyMemoryStorage.cs

Настройка silo для использования FaultInjectionMemoryStorage

public static Orleans.Hosting.ISiloBuilder AddFaultInjectionMemoryStorage (this Orleans.Hosting.ISiloBuilder builder, string name, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.MemoryGrainStorageOptions>> configureOptions = default, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.TestingHost.FaultInjectionGrainStorageOptions>> configureFaultInjecitonOptions = default);
static member AddFaultInjectionMemoryStorage : Orleans.Hosting.ISiloBuilder * string * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.MemoryGrainStorageOptions>> * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.TestingHost.FaultInjectionGrainStorageOptions>> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function AddFaultInjectionMemoryStorage (builder As ISiloBuilder, name As String, Optional configureOptions As Action(Of OptionsBuilder(Of MemoryGrainStorageOptions)) = Nothing, Optional configureFaultInjecitonOptions As Action(Of OptionsBuilder(Of FaultInjectionGrainStorageOptions)) = Nothing) As ISiloBuilder

Параметры

builder
ISiloBuilder
name
String
configureFaultInjecitonOptions
Action<OptionsBuilder<FaultInjectionGrainStorageOptions>>

Возвращаемое значение

Применяется к

AddFaultInjectionMemoryStorage(ISiloBuilder, String, Action<MemoryGrainStorageOptions>, Action<FaultInjectionGrainStorageOptions>)

Исходный код:
FaultyMemoryStorage.cs

Настройка silo для использования FaultInjectionMemoryStorage

public static Orleans.Hosting.ISiloBuilder AddFaultInjectionMemoryStorage (this Orleans.Hosting.ISiloBuilder builder, string name, Action<Orleans.Configuration.MemoryGrainStorageOptions> configureOptions, Action<Orleans.TestingHost.FaultInjectionGrainStorageOptions> configureFaultInjecitonOptions);
static member AddFaultInjectionMemoryStorage : Orleans.Hosting.ISiloBuilder * string * Action<Orleans.Configuration.MemoryGrainStorageOptions> * Action<Orleans.TestingHost.FaultInjectionGrainStorageOptions> -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function AddFaultInjectionMemoryStorage (builder As ISiloBuilder, name As String, configureOptions As Action(Of MemoryGrainStorageOptions), configureFaultInjecitonOptions As Action(Of FaultInjectionGrainStorageOptions)) As ISiloBuilder

Параметры

builder
ISiloBuilder
name
String
configureOptions
Action<MemoryGrainStorageOptions>
configureFaultInjecitonOptions
Action<FaultInjectionGrainStorageOptions>

Возвращаемое значение

Применяется к

AddFaultInjectionMemoryStorage(ISiloHostBuilder, String, Action<OptionsBuilder<MemoryGrainStorageOptions>>, Action<OptionsBuilder<FaultInjectionGrainStorageOptions>>)

Исходный код:
FaultyMemoryStorage.cs

Настройка silo для использования FaultInjectionMemoryStorage

public static Orleans.Hosting.ISiloHostBuilder AddFaultInjectionMemoryStorage (this Orleans.Hosting.ISiloHostBuilder builder, string name, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.MemoryGrainStorageOptions>> configureOptions = default, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.TestingHost.FaultInjectionGrainStorageOptions>> configureFaultInjecitonOptions = default);
static member AddFaultInjectionMemoryStorage : Orleans.Hosting.ISiloHostBuilder * string * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.MemoryGrainStorageOptions>> * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.TestingHost.FaultInjectionGrainStorageOptions>> -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function AddFaultInjectionMemoryStorage (builder As ISiloHostBuilder, name As String, Optional configureOptions As Action(Of OptionsBuilder(Of MemoryGrainStorageOptions)) = Nothing, Optional configureFaultInjecitonOptions As Action(Of OptionsBuilder(Of FaultInjectionGrainStorageOptions)) = Nothing) As ISiloHostBuilder

Параметры

name
String
configureFaultInjecitonOptions
Action<OptionsBuilder<FaultInjectionGrainStorageOptions>>

Возвращаемое значение

Применяется к

AddFaultInjectionMemoryStorage(ISiloHostBuilder, String, Action<MemoryGrainStorageOptions>, Action<FaultInjectionGrainStorageOptions>)

Исходный код:
FaultyMemoryStorage.cs

Настройка silo для использования FaultInjectionMemoryStorage

public static Orleans.Hosting.ISiloHostBuilder AddFaultInjectionMemoryStorage (this Orleans.Hosting.ISiloHostBuilder builder, string name, Action<Orleans.Configuration.MemoryGrainStorageOptions> configureOptions, Action<Orleans.TestingHost.FaultInjectionGrainStorageOptions> configureFaultInjecitonOptions);
static member AddFaultInjectionMemoryStorage : Orleans.Hosting.ISiloHostBuilder * string * Action<Orleans.Configuration.MemoryGrainStorageOptions> * Action<Orleans.TestingHost.FaultInjectionGrainStorageOptions> -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function AddFaultInjectionMemoryStorage (builder As ISiloHostBuilder, name As String, configureOptions As Action(Of MemoryGrainStorageOptions), configureFaultInjecitonOptions As Action(Of FaultInjectionGrainStorageOptions)) As ISiloHostBuilder

Параметры

name
String
configureOptions
Action<MemoryGrainStorageOptions>
configureFaultInjecitonOptions
Action<FaultInjectionGrainStorageOptions>

Возвращаемое значение

Применяется к