Class ReturnStatement
Defines an expression to return
Implements
IEquatable<ReturnStatement >
Inherited Members
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class ReturnStatement : Statement, IEquatable<ReturnStatement>
Constructors
ReturnStatement(String, Expression)
Initializes a new instance of the Return
Declaration
public ReturnStatement(string type = null, Expression argument = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
type | Type of AST node. |
Expression | argument | argument. |
Properties
Argument
Gets or Sets Argument
Declaration
public Expression Argument { get; set; }
Property Value
Type | Description |
---|---|
Expression |
Type
Type of AST node
Declaration
public string Type { get; set; }
Property Value
Type | Description |
---|---|
System. |
Type of AST node |
Methods
Equals(ReturnStatement)
Returns true if ReturnStatement instances are equal
Declaration
public bool Equals(ReturnStatement input)
Parameters
Type | Name | Description |
---|---|---|
Return |
input | Instance of ReturnStatement to be compared |
Returns
Type | Description |
---|---|
System. |
Boolean |
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object input)
Parameters
Type | Name | Description |
---|---|---|
System. |
input | Object to be compared |
Returns
Type | Description |
---|---|
System. |
Boolean |
Overrides
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System. |
Hash code |
Overrides
ToJson()
Returns the JSON string presentation of the object
Declaration
public override string ToJson()
Returns
Type | Description |
---|---|
System. |
JSON string presentation of the object |
Overrides
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System. |
String presentation of the object |
Overrides
Implements
IEquatable<>