Example #1
0
            /// <summary>
            ///    Creates a new transaction using given properties
            /// </summary>
            public ITransaction Build()
            {
                _transactionData.Data = _dataBuilder.Build();

                CheckArgument(((RpcObject)_transactionData.Data).GetItem("method"), "method not found");

                return(_transactionData.Build());
            }
Example #2
0
            /// <summary>
            ///    Creates a new transaction using given properties
            /// </summary>
            public ITransaction Build()
            {
                _transactionData.Data = _dataBuilder.Build();

                CheckArgument(((RpcObject)_transactionData.Data).GetItem("contentType"), "contentType not found");
                CheckArgument(((RpcObject)_transactionData.Data).GetItem("content"), "content not found");

                return(_transactionData.Build());
            }
Example #3
0
 /// <summary>
 ///    Creates a new transaction using given properties
 /// </summary>
 public ITransaction Build()
 {
     return(_transactionData.Build());
 }