LogConsistentGrain<TView> Constructors
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
LogConsistentGrain<TView>() | |
LogConsistentGrain<TView>(IGrainIdentity, IGrainRuntime) |
This constructor is particularly useful for unit testing where test code can create a Grain and replace the IGrainIdentity, IGrainRuntime and State with test doubles (mocks/stubs). |
LogConsistentGrain<TView>()
LogConsistentGrain<TView>(IGrainIdentity, IGrainRuntime)
- Source:
- LogConsistentGrain.cs
This constructor is particularly useful for unit testing where test code can create a Grain and replace the IGrainIdentity, IGrainRuntime and State with test doubles (mocks/stubs).
protected LogConsistentGrain (Orleans.Core.IGrainIdentity identity, Orleans.Runtime.IGrainRuntime runtime);
new Orleans.LogConsistency.LogConsistentGrain<'View> : Orleans.Core.IGrainIdentity * Orleans.Runtime.IGrainRuntime -> Orleans.LogConsistency.LogConsistentGrain<'View>
Protected Sub New (identity As IGrainIdentity, runtime As IGrainRuntime)
Parameters
- identity
- IGrainIdentity
- runtime
- IGrainRuntime