public CommandContext( string entityId, long sequence, string commandName, long commandId, AnySupport anySupport, IEventSourcedEntityHandler eventSourcedEntityHandler, int snapshotEvery, AbstractContext abstractContext, AbstractClientActionContext abstractClientActionContext, AbstractEffectContext abstractEffectContext, IActivatableContext activatableContext) { EntityId = entityId; Sequence = sequence; CommandName = commandName; CommandId = commandId; AnySupport = anySupport; EventSourcedEntityHandler = eventSourcedEntityHandler; SnapshotEvery = snapshotEvery; AbstractContext = abstractContext; AbstractClientActionContext = abstractClientActionContext; AbstractEffectContext = abstractEffectContext; ActivatableContext = activatableContext; }
// ICommandContext.IEffectContext public void Effect(IServiceCall effect, bool synchronous) => AbstractEffectContext.Effect(effect, synchronous);