Class BootstrapProviderConfiguration
Inheritance
System.Object
BootstrapProviderConfiguration
Namespace: Orleans.Runtime.Configuration
Assembly: Orleans.Runtime.Legacy.dll
Syntax
public static class BootstrapProviderConfiguration : object
Fields
| Improve this Doc View SourceBOOTSTRAP_PROVIDER_CATEGORY_NAME
Declaration
public const string BOOTSTRAP_PROVIDER_CATEGORY_NAME = null
Field Value
| Type | Description |
|---|---|
| System.String |
Methods
| Improve this Doc View SourceRegisterBootstrapProvider(GlobalConfiguration, String, String, IDictionary<String, String>)
Registers a given bootstrap provider.
Declaration
public static void RegisterBootstrapProvider(this GlobalConfiguration config, string providerTypeFullName, string providerName, IDictionary<string, string> properties = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GlobalConfiguration | config | Configuration object |
| System.String | providerTypeFullName | Full name of the bootstrap provider type |
| System.String | providerName | Name of the bootstrap provider |
| IDictionary<System.String, System.String> | properties | Properties that will be passed to the bootstrap provider upon initialization |
RegisterBootstrapProvider<T>(GlobalConfiguration, String, IDictionary<String, String>)
Registers a given type of T where T is bootstrap provider
Declaration
public static void RegisterBootstrapProvider<T>(this GlobalConfiguration config, string providerName, IDictionary<string, string> properties = null)where T : IBootstrapProvider
Parameters
| Type | Name | Description |
|---|---|---|
| GlobalConfiguration | config | Configuration object |
| System.String | providerName | Name of the bootstrap provider |
| IDictionary<System.String, System.String> | properties | Properties that will be passed to bootstrap provider upon initialization |
Type Parameters
| Name | Description |
|---|---|
| T | Non-abstract type which implements IBootstrapProvider interface |