Class ContractParameter
Inheritance
System.Object
ContractParameter
Assembly: Netezos.dll
Syntax
public class ContractParameter : object
Constructors
|
Improve this Doc
View Source
ContractParameter(IMicheline)
Declaration
public ContractParameter(IMicheline parameter)
Parameters
Properties
|
Improve this Doc
View Source
Default
Declaration
public Schema Default { get; }
Property Value
|
Improve this Doc
View Source
Entrypoints
Declaration
public Dictionary<string, Schema> Entrypoints { get; }
Property Value
Type |
Description |
Dictionary<System.String, Schema> |
|
Methods
|
Improve this Doc
View Source
Build(String, Object)
Declaration
public IMicheline Build(string entrypoint, object value)
Parameters
Type |
Name |
Description |
System.String |
entrypoint |
|
System.Object |
value |
|
Returns
|
Improve this Doc
View Source
Build(String, Object[])
Declaration
public IMicheline Build(string entrypoint, params object[] values)
Parameters
Type |
Name |
Description |
System.String |
entrypoint |
|
System.Object[] |
values |
|
Returns
|
Improve this Doc
View Source
BuildOptimized(String, Object)
Declaration
public IMicheline BuildOptimized(string entrypoint, object value)
Parameters
Type |
Name |
Description |
System.String |
entrypoint |
|
System.Object |
value |
|
Returns
|
Improve this Doc
View Source
BuildOptimized(String, Object[])
Declaration
public IMicheline BuildOptimized(string entrypoint, params object[] values)
Parameters
Type |
Name |
Description |
System.String |
entrypoint |
|
System.Object[] |
values |
|
Returns
|
Improve this Doc
View Source
GetJsonSchema(String, JsonWriterOptions)
Declaration
public string GetJsonSchema(string entrypoint, JsonWriterOptions options = null)
Parameters
Type |
Name |
Description |
System.String |
entrypoint |
|
JsonWriterOptions |
options |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Humanize(String, JsonWriterOptions)
Declaration
public string Humanize(string entrypoint, JsonWriterOptions options = null)
Parameters
Type |
Name |
Description |
System.String |
entrypoint |
|
JsonWriterOptions |
options |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
Humanize(String, IMicheline, JsonWriterOptions)
Declaration
public string Humanize(string entrypoint, IMicheline value, JsonWriterOptions options = null)
Parameters
Type |
Name |
Description |
System.String |
entrypoint |
|
IMicheline |
value |
|
JsonWriterOptions |
options |
|
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
IsEntrypointUseful(String)
Declaration
public bool IsEntrypointUseful(string entrypoint)
Parameters
Type |
Name |
Description |
System.String |
entrypoint |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Normalize(String, IMicheline)
Declaration
public (string, IMicheline) Normalize(string entrypoint, IMicheline value)
Parameters
Type |
Name |
Description |
System.String |
entrypoint |
|
IMicheline |
value |
|
Returns
Type |
Description |
System.ValueTuple<System.String, IMicheline> |
|
|
Improve this Doc
View Source
Optimize(String, IMicheline, Boolean)
Declaration
public IMicheline Optimize(string entrypoint, IMicheline value, bool immutable = true)
Parameters
Type |
Name |
Description |
System.String |
entrypoint |
|
IMicheline |
value |
|
System.Boolean |
immutable |
|
Returns