Interface IVersionManager
Namespace: Orleans
Assembly: Orleans.Core.Abstractions.dll
Syntax
public interface IVersionManager
Methods
| Improve this Doc View SourceSetCompatibilityStrategy(CompatibilityStrategy)
Set the compatibility strategy
Declaration
Task SetCompatibilityStrategy(CompatibilityStrategy strategy)
Parameters
| Type | Name | Description |
|---|---|---|
| CompatibilityStrategy | strategy | The strategy to set. Set to null to revert to the default strategy provided in configuration |
Returns
| Type | Description |
|---|---|
| Task |
SetCompatibilityStrategy(Int32, CompatibilityStrategy)
Set the compatibility strategy for a specific interface
Declaration
Task SetCompatibilityStrategy(int interfaceId, CompatibilityStrategy strategy)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | interfaceId | The ID of the interface |
| CompatibilityStrategy | strategy | The strategy to set. Set to null to revert to the default strategy provided in configuration |
Returns
| Type | Description |
|---|---|
| Task |
SetSelectorStrategy(VersionSelectorStrategy)
Set the selector strategy
Declaration
Task SetSelectorStrategy(VersionSelectorStrategy strategy)
Parameters
| Type | Name | Description |
|---|---|---|
| VersionSelectorStrategy | strategy | The strategy to set. Set to null to revert to the default strategy provided in configuration |
Returns
| Type | Description |
|---|---|
| Task |
SetSelectorStrategy(Int32, VersionSelectorStrategy)
Set the selector strategy for a specific interface
Declaration
Task SetSelectorStrategy(int interfaceId, VersionSelectorStrategy strategy)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | interfaceId | The ID of the interface |
| VersionSelectorStrategy | strategy | The strategy to set. Set to null to revert to the default strategy provided in configuration |
Returns
| Type | Description |
|---|---|
| Task |