Header menu logo FCQRS

SagaCommands Type

C#-friendly saga command targeting

Static members

Static member Description

SagaCommands.ToActor(actorRef, command)

Full Usage: SagaCommands.ToActor(actorRef, command)

Parameters:
Returns: ExecuteCommand

Create a command to send to an actor ref

actorRef : IActorRef<obj>
command : obj
Returns: ExecuteCommand

SagaCommands.ToAggregate(factory, aggregateId, command)

Full Usage: SagaCommands.ToAggregate(factory, aggregateId, command)

Parameters:
    factory : Func<string, IEntityRef<obj>>
    aggregateId : string
    command : obj

Returns: ExecuteCommand

Create a command to send to a named aggregate

factory : Func<string, IEntityRef<obj>>
aggregateId : string
command : obj
Returns: ExecuteCommand

SagaCommands.ToOriginator(factory, command)

Full Usage: SagaCommands.ToOriginator(factory, command)

Parameters:
Returns: ExecuteCommand

Create a command to send to the originator aggregate

factory : Func<string, IEntityRef<obj>>
command : obj
Returns: ExecuteCommand

SagaCommands.ToOriginatorDelayed(factory, command, delayMs, taskName)

Full Usage: SagaCommands.ToOriginatorDelayed(factory, command, delayMs, taskName)

Parameters:
    factory : Func<string, IEntityRef<obj>>
    command : obj
    delayMs : int64
    taskName : string

Returns: ExecuteCommand

Create a delayed command

factory : Func<string, IEntityRef<obj>>
command : obj
delayMs : int64
taskName : string
Returns: ExecuteCommand

Type something to start searching.