示例#1
0
        public TransactionOptions AssignFrom(WalletOptions walletOptions)
        {
            this.Attributes       = walletOptions.Attributes;
            this.Fee              = walletOptions.Fee;
            this.Nonce            = walletOptions.Nonce;
            this.RpcServerAddress = walletOptions.RpcServerAddress;

            return(this);
        }
示例#2
0
        public static WalletOptions NewFrom(TransactionOptions transactionOptions)
        {
            var walletOptions = new WalletOptions();

            return(walletOptions.AssignFrom(transactionOptions));
        }
示例#3
0
        public static WalletOptions NewFrom(PublishOptions publishOptions)
        {
            var walletOptions = new WalletOptions();

            return(walletOptions.AssignFrom(publishOptions));
        }
示例#4
0
        public static WalletOptions NewFrom(ClientOptions clientOptions)
        {
            var walletOptions = new WalletOptions();

            return(walletOptions.AssignFrom(clientOptions));
        }
示例#5
0
        public static TransactionOptions NewFrom(WalletOptions walletOptions)
        {
            var options = new TransactionOptions();

            return(options.AssignFrom(walletOptions));
        }