Casper.Network.SDK
Show / Hide Table of Contents

Class CLTypeInfo

Extends the information of a CLType and provides conversion helpers. Used also as a base class for ByteArrays, Keys, Lists, Maps, Options, Results and Tuples.

Inheritance
object
CLTypeInfo
CLByteArrayTypeInfo
CLKeyTypeInfo
CLListTypeInfo
CLMapTypeInfo
CLOptionTypeInfo
CLResultTypeInfo
CLTuple1TypeInfo
CLTuple2TypeInfo
CLTuple3TypeInfo
Inherited Members
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: Casper.Network.SDK.Types
Assembly: Casper.Network.SDK.dll
Syntax
public class CLTypeInfo

Constructors

| Edit this page View Source

CLTypeInfo(CLType)

Declaration
public CLTypeInfo(CLType type)
Parameters
Type Name Description
CLType type

Properties

| Edit this page View Source

Type

Declaration
public CLType Type { get; }
Property Value
Type Description
CLType

Methods

| Edit this page View Source

Equals(object)

Determines whether the specified object is equal to the current object.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
object obj

The object to compare with the current object.

Returns
Type Description
bool

true if the specified object is equal to the current object; otherwise, false.

Overrides
object.Equals(object)
| Edit this page View Source

GetFrameworkType()

Declaration
public virtual Type GetFrameworkType()
Returns
Type Description
Type
| Edit this page View Source

GetHashCode()

Serves as the default hash function.

Declaration
public override int GetHashCode()
Returns
Type Description
int

A hash code for the current object.

Overrides
object.GetHashCode()
| Edit this page View Source

IsListCompatibleWith(object)

Returns true if obj can be part of the same CLValue.List.

Declaration
public virtual bool IsListCompatibleWith(object obj)
Parameters
Type Name Description
object obj

Object to compare with.

Returns
Type Description
bool

true if obj can be part of the same CLValue list.

| Edit this page View Source

ToString()

Returns a string that represents the current object.

Declaration
public override string ToString()
Returns
Type Description
string

A string that represents the current object.

Overrides
object.ToString()

Operators

| Edit this page View Source

implicit operator CLTypeInfo(CLType)

Declaration
public static implicit operator CLTypeInfo(CLType t)
Parameters
Type Name Description
CLType t
Returns
Type Description
CLTypeInfo
  • Edit this page
  • View Source
In this article
Back to top Maintained by MAKE Technology LLC