MultiStateTransactionalGrainBaseClass
class
Namespace: Orleans.Transactions.TestKit
The abstract base class for all grain classes.
public class MultiStateTransactionalGrainBaseClass : Grain, IGrain, IGrainWithGuidKey, IAddressable, ITransactionTestGrainConstructors
Methods
Add(int)apply add operation to every transaction stateAddAndThrow(int)DeactivateGetapply get operation to every transaction stateOnActivateAsync(CancellationToken)This method is called at the end of the process of activating a grain. It is called before any messages have been dispatched to the grain. For grains with declared persistent state, this method is called after the State property has been populated.Set(int)apply set operation to every transaction stateSetAndThrow(int)
