21.269. Class ExpressionBuilders
Namespace: ArmoniK.Core.Common.gRPC
Assembly: ArmoniK.Core.Common.dll
Generate
public class ExpressionBuilders
21.269.1. Inheritance
21.269.2. Inherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
21.269.3. Methods
21.269.3.1. GetMemberExpression<TIn>(Expression<Func<TIn, object?>>)
public static Expression GetMemberExpression<TIn>(Expression<Func<TIn, object?>> selector)
21.269.3.1.1. Parameters
selector Expression<Func<TIn, object?>>
21.269.3.1.2. Returns
21.269.3.1.3. Type Parameters
TIn
21.269.3.2. MakeBinary<TIn, T>(Expression<Func<TIn, object?>>, T, ExpressionType)
Generate
public static Expression<Func<TIn, bool>> MakeBinary<TIn, T>(Expression<Func<TIn, object?>> selector, T value, ExpressionType binaryExpression)
21.269.3.2.1. Parameters
selector Expression<Func<TIn, object?>>
value T
Value for the operation
binaryExpression ExpressionType
Operation to perform
21.269.3.2.2. Returns
Expression<Func<TIn, bool>>
The
21.269.3.2.3. Type Parameters
TIn
Class from which to access the field
T
Type of the value and field on which the operation is applied
21.269.3.3. MakeCall<TIn, T>(Expression<Func<TIn, object?>>, T, Type, string, bool)
Generate
public static Expression<Func<TIn, bool>> MakeCall<TIn, T>(Expression<Func<TIn, object?>> selector, T value, Type type, string method, bool invert = false)
21.269.3.3.1. Parameters
selector Expression<Func<TIn, object?>>
value T
Value for the operation
type Type
Type of the collection containing the method we want to apply
method string
The name of the method from the type
invert bool
Whether we should invert the result (not operation)
21.269.3.3.2. Returns
Expression<Func<TIn, bool>>
The
21.269.3.3.3. Type Parameters
TIn
Class from which to access the field
T
Type of the value and field on which the operation is applied
21.269.3.4. MakeCallString<TIn>(Expression<Func<TIn, object?>>, string, string, bool)
Generate
public static Expression<Func<TIn, bool>> MakeCallString<TIn>(Expression<Func<TIn, object?>> selector, string value, string method, bool invert = false)
21.269.3.4.1. Parameters
selector Expression<Func<TIn, object?>>
value string
Value for the operation
method string
The name of the method from the string type
invert bool
Whether we should invert the result (not operation)
21.269.3.4.2. Returns
Expression<Func<TIn, bool>>
The
21.269.3.4.3. Type Parameters
TIn
Class from which to access the field