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 ReturnStatement class.
Declaration
public ReturnStatement(string type = null, Expression argument = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | 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.String | Type of AST node |
Methods
Equals(ReturnStatement)
Returns true if ReturnStatement instances are equal
Declaration
public bool Equals(ReturnStatement input)
Parameters
Type | Name | Description |
---|---|---|
ReturnStatement | input | Instance of ReturnStatement to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object input)
Parameters
Type | Name | Description |
---|---|---|
System.Object | input | Object to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Overrides
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code |
Overrides
ToJson()
Returns the JSON string presentation of the object
Declaration
public override string ToJson()
Returns
Type | Description |
---|---|
System.String | 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 | String presentation of the object |
Overrides
Implements
IEquatable<>