Class ManageDataOperation.Builder
Inheritance
System.Object
ManageDataOperation.Builder
Namespace: System.Dynamic.ExpandoObject
Assembly: stellar-dotnet-sdk.dll
Syntax
public class Builder : object
Constructors
Builder(ManageDataOp)
Construct a new ManageOffer builder from a ManageDataOp XDR.
Declaration
public Builder(ManageDataOp op)
Parameters
Type | Name | Description |
---|---|---|
stellar_dotnet_sdk.xdr.ManageDataOp | op | stellar_dotnet_sdk.xdr.ManageDataOp |
Builder(String, Byte[])
Creates a new ManageData builder. If you want to delete data entry pass null as a
value
param.
Declaration
public Builder(string name, byte[] value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of data entry |
System.Byte[] | value | The value of data entry. null will delete data entry.
|
Methods
Build()
SetSourceAccount(IAccountId)
Sets the source account for this operation.
Declaration
public ManageDataOperation.Builder SetSourceAccount(IAccountId sourceAccount)
Parameters
Type | Name | Description |
---|---|---|
IAccountId | sourceAccount | The operation's source account. |
Returns
ManageDataOperation.Builder
Builder object so you can chain methods. |