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
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
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
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