Class MemberExpression
Represents accessing a property of an object
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class MemberExpression : Expression, IEquatable<Expression>, IEquatable<MemberExpression>
Constructors
MemberExpression(String, Expression, PropertyKey)
Initializes a new instance of the MemberExpression class.
Declaration
public MemberExpression(string type = null, Expression _object = null, PropertyKey property = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | type | Type of AST node. |
Expression | _object | _object. |
PropertyKey | property | property. |
Properties
Object
Gets or Sets Object
Declaration
public Expression Object { get; set; }
Property Value
Type | Description |
---|---|
Expression |
Property
Gets or Sets Property
Declaration
public PropertyKey Property { get; set; }
Property Value
Type | Description |
---|---|
PropertyKey |
Type
Type of AST node
Declaration
public string Type { get; set; }
Property Value
Type | Description |
---|---|
System.String | Type of AST node |
Methods
Equals(MemberExpression)
Returns true if MemberExpression instances are equal
Declaration
public bool Equals(MemberExpression input)
Parameters
Type | Name | Description |
---|---|---|
MemberExpression | input | Instance of MemberExpression 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<>
IEquatable<>