Class ExpressionStarter<T>
Inheritance
object
ExpressionStarter<T>
Inherited Members
object.GetType()
object.MemberwiseClone()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Assembly: Volo.Abp.Core.dll
Syntax
public class ExpressionStarter<T>
Type Parameters
Constructors
ExpressionStarter()
Declaration
public ExpressionStarter()
ExpressionStarter(bool)
Declaration
public ExpressionStarter(bool defaultExpression)
Parameters
Type |
Name |
Description |
bool |
defaultExpression |
|
ExpressionStarter(Expression<Func<T, bool>>?)
Declaration
public ExpressionStarter(Expression<Func<T, bool>>? exp)
Parameters
Type |
Name |
Description |
System.Linq.Expressions.Expression<TDelegate><System.Func<T, TResult><T, bool>> |
exp |
|
Properties
Body
Declaration
public Expression Body { get; }
Property Value
Type |
Description |
System.Linq.Expressions.Expression |
|
CanReduce
Declaration
public virtual bool CanReduce { get; }
Property Value
DefaultExpression
Declaration
public Expression<Func<T, bool>>? DefaultExpression { get; set; }
Property Value
Type |
Description |
System.Linq.Expressions.Expression<TDelegate><System.Func<T, TResult><T, bool>> |
|
IsStarted
Declaration
public bool IsStarted { get; }
Property Value
Name
Declaration
public string? Name { get; }
Property Value
NodeType
Declaration
public ExpressionType NodeType { get; }
Property Value
Type |
Description |
System.Linq.Expressions.ExpressionType |
|
Parameters
Declaration
public ReadOnlyCollection<ParameterExpression> Parameters { get; }
Property Value
Type |
Description |
System.Collections.ObjectModel.ReadOnlyCollection<T><ParameterExpression> |
|
ReturnType
Declaration
public Type ReturnType { get; }
Property Value
Type |
Description |
System.Type |
|
TailCall
Declaration
public bool TailCall { get; }
Property Value
Type
Declaration
public Type Type { get; }
Property Value
Type |
Description |
System.Type |
|
UseDefaultExpression
Declaration
public bool UseDefaultExpression { get; }
Property Value
Methods
And(Expression<Func<T, bool>>)
Declaration
public Expression<Func<T, bool>> And(Expression<Func<T, bool>> expr2)
Parameters
Type |
Name |
Description |
System.Linq.Expressions.Expression<TDelegate><System.Func<T, TResult><T, bool>> |
expr2 |
|
Returns
Type |
Description |
System.Linq.Expressions.Expression<TDelegate><System.Func<T, TResult><T, bool>> |
|
Compile()
Declaration
public Func<T, bool> Compile()
Returns
Type |
Description |
System.Func<T, TResult><T, bool> |
|
Or(Expression<Func<T, bool>>)
Declaration
public Expression<Func<T, bool>> Or(Expression<Func<T, bool>> expr2)
Parameters
Type |
Name |
Description |
System.Linq.Expressions.Expression<TDelegate><System.Func<T, TResult><T, bool>> |
expr2 |
|
Returns
Type |
Description |
System.Linq.Expressions.Expression<TDelegate><System.Func<T, TResult><T, bool>> |
|
Start(Expression<Func<T, bool>>)
Declaration
public Expression<Func<T, bool>> Start(Expression<Func<T, bool>> exp)
Parameters
Type |
Name |
Description |
System.Linq.Expressions.Expression<TDelegate><System.Func<T, TResult><T, bool>> |
exp |
|
Returns
Type |
Description |
System.Linq.Expressions.Expression<TDelegate><System.Func<T, TResult><T, bool>> |
|
ToString()
Declaration
public override string? ToString()
Returns
Overrides
object.ToString()
Operators
implicit operator ExpressionStarter<T>?(Expression<Func<T, bool>>?)
Declaration
public static implicit operator ExpressionStarter<T>?(Expression<Func<T, bool>>? right)
Parameters
Type |
Name |
Description |
System.Linq.Expressions.Expression<TDelegate><System.Func<T, TResult><T, bool>> |
right |
|
Returns
implicit operator Func<T, bool>?(ExpressionStarter<T>?)
Declaration
public static implicit operator Func<T, bool>?(ExpressionStarter<T>? right)
Parameters
Returns
Type |
Description |
System.Func<T, TResult><T, bool> |
|
implicit operator Expression<Func<T, bool>>?(ExpressionStarter<T>?)
Declaration
public static implicit operator Expression<Func<T, bool>>?(ExpressionStarter<T>? right)
Parameters
Returns
Type |
Description |
System.Linq.Expressions.Expression<TDelegate><System.Func<T, TResult><T, bool>> |
|
Extension Methods