Düzenle

Aracılığıyla paylaş


LogConsistentGrain<TView> Constructors

Definition

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>()

Source:
LogConsistentGrain.cs
protected LogConsistentGrain ();
Protected Sub New ()

Applies to

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

Applies to