/// <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()); }
/// <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()); }
/// <summary> /// Creates a new transaction using given properties /// </summary> public ITransaction Build() { return(_transactionData.Build()); }