public static IEnumerable<Func<CancellationToken, Task>> Tasks(ICommandSender service, IDocumentStore docs, bool isTest) { var flow = new DomainSender(service); // more tasks go here yield break; }
public static IEnumerable<object> Ports(ICommandSender service) { var flow = new DomainSender(service); yield return new SecurityUserAggregateReplication(flow); yield return new RegistrationPort(flow); // more senders go here }
public static IEnumerable<object> Receptors(ICommandSender service) { var flow = new DomainSender(service); yield return new ReplicationReceptor(flow); yield return new RegistrationReceptor(flow); // more senders go here }