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>));
 }
コード例 #2
0
 protected ReplicateCommand(IReplicaDraft <T> replica)
 {
     this.Replica = replica;
 }
コード例 #3
0
 protected ReplicateCommand(IReplicaDraft <T> replica, IAdditionalParameters <T> additionalParameters)
 {
     this.Replica = replica;
     this.AdditionalParameters = additionalParameters;
 }
コード例 #4
0
 public ReplicateCartCommand(IReplicaDraft <Cart> replica)
     : base(replica)
 {
 }
コード例 #5
0
 public ReplicateCartCommand(IReplicaDraft <Cart> replica, IAdditionalParameters <Cart> additionalParameters)
     : base(replica, additionalParameters)
 {
 }