public static CommandBuilder <ReplicateCommand <Cart>, Cart> Replicate( this DomainCommandBuilder <Cart> builder, IReplicaDraft <Cart> replica) { return(new CommandBuilder <ReplicateCommand <Cart>, Cart>( builder.Client, () => new ReplicateCartCommand(replica) as ReplicateCommand <Cart>)); }
protected ReplicateCommand(IReplicaDraft <T> replica) { this.Replica = replica; }
protected ReplicateCommand(IReplicaDraft <T> replica, IAdditionalParameters <T> additionalParameters) { this.Replica = replica; this.AdditionalParameters = additionalParameters; }
public ReplicateCartCommand(IReplicaDraft <Cart> replica) : base(replica) { }
public ReplicateCartCommand(IReplicaDraft <Cart> replica, IAdditionalParameters <Cart> additionalParameters) : base(replica, additionalParameters) { }