using System; using System.Linq.Expressions; namespace Abp.Specifications { /// /// Represents the specification that can be satisfied by the given object /// in no circumstance. /// /// The type of the object to which the specification is applied. public sealed class NoneSpecification : Specification { /// /// Gets the LINQ expression which represents the current specification. /// /// The LINQ expression. public override Expression> ToExpression() { return o => false; } } }