public ReplicationProcess(IFunctionalFlow flow) { _flow = flow; }
public static void ToService(this IFunctionalFlow self, IFunctionalCommand cmd) { self.SendCommandsAsBatch(new ISampleCommand[] { cmd }); }
public static void ToUser(this IFunctionalFlow self, ICommand <UserId> cmd) { self.SendCommandsAsBatch(new[] { cmd }); }
public static void ToRegistration(this IFunctionalFlow self, ICommand <RegistrationId> cmd) { self.SendCommandsAsBatch(new[] { cmd }); }
public static void ToSecurity(this IFunctionalFlow self, ICommand <SecurityId> cmd) { self.SendCommandsAsBatch(new[] { cmd }); }