Show / Hide Table of Contents

Class Memo

Abstract class for creating various Memo Types.

Inheritance
System.Object
Memo
MemoHashAbstract
MemoId
MemoNone
MemoText
Namespace: System.Dynamic.ExpandoObject
Assembly: stellar-dotnet-sdk.dll
Syntax
public abstract class Memo : object

Methods

Equals(System.Object)

Declaration
public abstract override bool Equals(System.Object o)
Parameters
Type Name Description
System.Object o
Returns
System.Boolean

FromXdr(Memo)

Declaration
public static Memo FromXdr(Memo memo)
Parameters
Type Name Description
stellar_dotnet_sdk.xdr.Memo memo
Returns
Memo

GetHashCode()

Declaration
public abstract override int GetHashCode()
Returns
System.Int32

Hash(Byte[])

Creates new {@link MemoHash} instance from byte array.

Declaration
public static MemoHash Hash(byte[] bytes)
Parameters
Type Name Description
System.Byte[] bytes

The byte array of a Hash Memo.

Returns
MemoHash

Hash(String)

Creates new {@link MemoHash} instance from hex-encoded string

Declaration
public static MemoHash Hash(string hexString)
Parameters
Type Name Description
System.String hexString

The hex value of a Hash Memo

Returns
MemoHash

Id(UInt64)

Creates new {@link MemoId} instance.

Declaration
public static MemoId Id(ulong id)
Parameters
Type Name Description
System.UInt64 id

The id value of an Id Memo.

Returns
MemoId

None()

Creates new MemoNone instance.

Declaration
public static MemoNone None()
Returns
MemoNone

ReturnHash(Byte[])

Creates new {@link MemoReturnHash} instance from byte array.

Declaration
public static MemoReturnHash ReturnHash(byte[] bytes)
Parameters
Type Name Description
System.Byte[] bytes

A byte array of a Return Hash Memo.

Returns
MemoReturnHash

ReturnHash(String)

Creates new {@link MemoReturnHash} instance from hex-encoded string.

Declaration
public static MemoReturnHash ReturnHash(string hexString)
Parameters
Type Name Description
System.String hexString

The hex value of a Return Hash Memo.

Returns
MemoReturnHash

Text(Byte[])

Creates new {@link MemoText} instance.

Declaration
public static MemoText Text(byte[] text)
Parameters
Type Name Description
System.Byte[] text

The text value of a Text Memo.

Returns
MemoText

Text(String)

Creates new {@link MemoText} instance.

Declaration
public static MemoText Text(string text)
Parameters
Type Name Description
System.String text

The text value of a Text Memo.

Returns
MemoText

ToXdr()

Abstract method for ToXdr

Declaration
public abstract Memo ToXdr()
Returns
stellar_dotnet_sdk.xdr.Memo

A memo object.

Back to top Generated by DocFX