示例#1
0
 public Builder SetSourceAccount(KeyPair sourceAccount)
 {
     SourceAccount = CheckNotNull(sourceAccount, "源账户不能是空");
     return(this);
 }
示例#2
0
 public Builder(Generated.PaymentOp op)
 {
     Destination = KeyPair.FromXdrPublicKey(op.Destination.InnerValue);
     Asset       = Asset.FromXDR(op.Asset);
     Amount      = op.Amount.InnerValue;
 }