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