Show / Hide Table of Contents

Class Binding

Binding of a parameter expression to a value.

Inheritance
System.Object
Binding
Implements
System.IEquatable<Binding>
Namespace: System.Linq.CompilerServices
Assembly: Nuqleon.Linq.CompilerServices.dll
Syntax
public sealed class Binding : ValueType, IEquatable<Binding>

Constructors

Binding(ParameterExpression, Expression)

Creates a new binding with the specified parameter and value.

Declaration
public Binding(ParameterExpression parameter, Expression value)
Parameters
Type Name Description
System.Linq.Expressions.ParameterExpression parameter

Parameter that's bound by the specified value.

System.Linq.Expressions.Expression value

Value the specified parameter is bound to.

Properties

Parameter

Gets the bound parameter.

Declaration
public ParameterExpression Parameter { get; }
Property Value
Type Description
System.Linq.Expressions.ParameterExpression

Value

Gets the value of the binding.

Declaration
public Expression Value { get; }
Property Value
Type Description
System.Linq.Expressions.Expression

Methods

Equals(Binding)

Checks if an instance is equal to the current instance.

Declaration
public bool Equals(Binding other)
Parameters
Type Name Description
Binding other

The other instance.

Returns
Type Description
System.Boolean

true if the other instance equals the current instance, false otherwise.

Equals(Object)

Checks if an instance is equal to the current instance.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj

The other instance.

Returns
Type Description
System.Boolean

true if the other instance equals the current instance, false otherwise.

GetHashCode()

Generates a hash code for the instance.

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

The hash code for the instance.

Operators

Equality(Binding, Binding)

Checks if two instances are equal.

Declaration
public static bool operator ==(Binding left, Binding right)
Parameters
Type Name Description
Binding left

The left instance.

Binding right

The right instance.

Returns
Type Description
System.Boolean

true if the instances are equal, false otherwise.

Inequality(Binding, Binding)

Checks if two instances are not equal.

Declaration
public static bool operator !=(Binding left, Binding right)
Parameters
Type Name Description
Binding left

The left instance.

Binding right

The right instance.

Returns
Type Description
System.Boolean

true if the instances are not equal, false otherwise.

Implements

System.IEquatable<>
In This Article
Back to top Generated by DocFX