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
System.Object
CLTypeInfo
CLByteArrayTypeInfo
CLKeyTypeInfo
CLListTypeInfo
CLMapTypeInfo
CLOptionTypeInfo
CLResultTypeInfo
CLTuple1TypeInfo
CLTuple2TypeInfo
CLTuple3TypeInfo
Namespace: Casper.Network.SDK.Types
Assembly: Casper.Network.SDK.dll
Syntax
public class CLTypeInfo : object

Constructors

CLTypeInfo(CLType)

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

Properties

Type

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

Methods

Equals(Object)

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

GetFrameworkType()

Declaration
public virtual Type GetFrameworkType()
Returns
Type Description
Type

GetHashCode()

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

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
System.Object obj

Object to compare with.

Returns
Type Description
System.Boolean

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

ToString()

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

Operators

Implicit(CLType to CLTypeInfo)

Declaration
public static implicit operator CLTypeInfo(CLType t)
Parameters
Type Name Description
CLType t
Returns
Type Description
CLTypeInfo
In This Article
Back to top Maintained by MAKE Technology LLC