Class EvalDelta
Represents a TEAL value delta.
Inheritance
System.Object
EvalDelta
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 EvalDelta : IEquatable<EvalDelta>, IValidatableObject
Constructors
| Improve this Doc View SourceEvalDelta()
Initializes a new instance of the EvalDelta class.
Declaration
[JsonConstructor]
protected EvalDelta()
EvalDelta(Nullable<Int64>, String, Nullable<UInt64>)
Initializes a new instance of the EvalDelta class.
Declaration
public EvalDelta(long? action = default(long? ), string bytes = null, ulong? _uint = default(ulong? ))
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Int64> | action | \[at\] delta action. (required). |
System.String | bytes | \[bs\] bytes value.. |
System.Nullable<System.UInt64> | _uint | \[ui\] uint value.. |
Properties
| Improve this Doc View SourceAction
\[at\] delta action.
Declaration
[DataMember(Name = "action", EmitDefaultValue = false)]
public long? Action { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> | \[at\] delta action. |
Bytes
\[bs\] bytes value.
Declaration
[DataMember(Name = "bytes", EmitDefaultValue = false)]
public string Bytes { get; set; }
Property Value
Type | Description |
---|---|
System.String | \[bs\] bytes value. |
Uint
\[ui\] uint value.
Declaration
[DataMember(Name = "uint", EmitDefaultValue = false)]
public ulong? Uint { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.UInt64> | \[ui\] uint value. |
Methods
| Improve this Doc View SourceEquals(EvalDelta)
Returns true if EvalDelta instances are equal
Declaration
public bool Equals(EvalDelta input)
Parameters
Type | Name | Description |
---|---|---|
EvalDelta | input | Instance of EvalDelta to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
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 |
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 SourceIValidatableObject.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