Show / Hide Table of Contents

    Class DryrunSource

    DryrunSource is TEAL source text that gets uploaded, compiled, and inserted into transactions or application state.

    Inheritance
    System.Object
    DryrunSource
    Implements
    System.IEquatable<DryrunSource>
    System.ComponentModel.DataAnnotations.IValidatableObject
    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Algorand.V2.Model
    Assembly: Algorand.dll
    Syntax
    [DataContract]
    public class DryrunSource : IEquatable<DryrunSource>, IValidatableObject

    Constructors

    | Improve this Doc View Source

    DryrunSource()

    Initializes a new instance of the DryrunSource class.

    Declaration
    [JsonConstructor]
    protected DryrunSource()
    | Improve this Doc View Source

    DryrunSource(String, String, Nullable<Int64>, Nullable<UInt64>)

    Initializes a new instance of the DryrunSource class.

    Declaration
    public DryrunSource(string fieldName = null, string source = null, long? txnIndex = default(long? ), ulong? appIndex = default(ulong? ))
    Parameters
    Type Name Description
    System.String fieldName

    FieldName is what kind of sources this is. If lsig then it goes into the transactions[this.TxnIndex].LogicSig. If approv or clearp it goes into the Approval Program or Clear State Program of application[this.AppIndex]. (required).

    System.String source

    source (required).

    System.Nullable<System.Int64> txnIndex

    txnIndex (required).

    System.Nullable<System.UInt64> appIndex

    appIndex (required).

    Properties

    | Improve this Doc View Source

    AppIndex

    Gets or Sets AppIndex

    Declaration
    [DataMember(Name = "app-index", EmitDefaultValue = false)]
    public ulong? AppIndex { get; set; }
    Property Value
    Type Description
    System.Nullable<System.UInt64>
    | Improve this Doc View Source

    FieldName

    FieldName is what kind of sources this is. If lsig then it goes into the transactions[this.TxnIndex].LogicSig. If approv or clearp it goes into the Approval Program or Clear State Program of application[this.AppIndex].

    Declaration
    [DataMember(Name = "field-name", EmitDefaultValue = false)]
    public string FieldName { get; set; }
    Property Value
    Type Description
    System.String

    FieldName is what kind of sources this is. If lsig then it goes into the transactions[this.TxnIndex].LogicSig. If approv or clearp it goes into the Approval Program or Clear State Program of application[this.AppIndex].

    | Improve this Doc View Source

    Source

    Gets or Sets Source

    Declaration
    [DataMember(Name = "source", EmitDefaultValue = false)]
    public string Source { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    TxnIndex

    Gets or Sets TxnIndex

    Declaration
    [DataMember(Name = "txn-index", EmitDefaultValue = false)]
    public long? TxnIndex { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int64>

    Methods

    | Improve this Doc View Source

    Equals(DryrunSource)

    Returns true if DryrunSource instances are equal

    Declaration
    public bool Equals(DryrunSource input)
    Parameters
    Type Name Description
    DryrunSource input

    Instance of DryrunSource to be compared

    Returns
    Type Description
    System.Boolean

    Boolean

    | Improve this Doc View Source

    Equals(Object)

    Returns true if objects are equal

    Declaration
    public override bool Equals(object input)
    Parameters
    Type Name Description
    System.Object input

    Object to be compared

    Returns
    Type Description
    System.Boolean

    Boolean

    Overrides
    System.Object.Equals(System.Object)
    | Improve this Doc View Source

    GetHashCode()

    Gets the hash code

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32

    Hash code

    Overrides
    System.Object.GetHashCode()
    | Improve this Doc View Source

    ToJson()

    Returns the JSON string presentation of the object

    Declaration
    public virtual string ToJson()
    Returns
    Type Description
    System.String

    JSON string presentation of the object

    | Improve this Doc View Source

    ToString()

    Returns the string presentation of the object

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    String presentation of the object

    Overrides
    System.Object.ToString()

    Explicit Interface Implementations

    | Improve this Doc View Source

    IValidatableObject.Validate(ValidationContext)

    To validate all properties of the instance

    Declaration
    IEnumerable<ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
    Parameters
    Type Name Description
    System.ComponentModel.DataAnnotations.ValidationContext validationContext

    Validation context

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult>

    Validation Result

    Implements

    System.IEquatable<T>
    System.ComponentModel.DataAnnotations.IValidatableObject
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX