Class NamedArg
Named arguments passed as input in a Deploy item.
Inheritance
System.Object
NamedArg
Namespace: Casper.Network.SDK.Types
Assembly: Casper.Network.SDK.dll
Syntax
public class NamedArg : object
Constructors
NamedArg(String, BigInteger)
Creates a NamedArg object with a BigInteger value.
Declaration
public NamedArg(string name, BigInteger value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
BigInteger | value |
NamedArg(String, CLValue)
Creates a NamedArg object with a CLValue
value.
Declaration
public NamedArg(string name, CLValue value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
CLValue | value |
NamedArg(String, GlobalStateKey)
Creates a NamedArg object with a GlobalStateKey value.
Declaration
public NamedArg(string name, GlobalStateKey value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
GlobalStateKey | value |
NamedArg(String, PublicKey)
Creates a NamedArg object with a PublicKey value.
Declaration
public NamedArg(string name, PublicKey value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
PublicKey | value |
NamedArg(String, URef)
Creates a NamedArg object with a URef value.
Declaration
public NamedArg(string name, URef value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
URef | value |
NamedArg(String, Boolean)
Creates a NamedArg object with a Boolean value.
Declaration
public NamedArg(string name, bool value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.Boolean | value |
NamedArg(String, Byte)
Creates a NamedArg object with an U8/byte value.
Declaration
public NamedArg(string name, byte value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.Byte | value |
NamedArg(String, Byte[])
Creates a NamedArg object with a byte array value.
Declaration
public NamedArg(string name, byte[] value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.Byte[] | value |
NamedArg(String, Int32)
Creates a NamedArg object with an Int32 value.
Declaration
public NamedArg(string name, int value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.Int32 | value |
NamedArg(String, Int64)
Creates a NamedArg object with an Int64 value.
Declaration
public NamedArg(string name, long value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.Int64 | value |
NamedArg(String, String)
Creates a NamedArg object with a string value.
Declaration
public NamedArg(string name, string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.String | value |
NamedArg(String, UInt32)
Creates a NamedArg object with an UInt32 value.
Declaration
public NamedArg(string name, uint value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.UInt32 | value |
NamedArg(String, UInt64)
Creates a NamedArg object with an UInt64 value.
Declaration
public NamedArg(string name, ulong value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.UInt64 | value |
Properties
Name
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Value
Declaration
public CLValue Value { get; }
Property Value
Type | Description |
---|---|
CLValue |