using System;
using System.Linq.Expressions;
namespace MyCode.Project.Infrastructure
{
///
/// 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
{
#region Public Methods
///
/// Gets the LINQ expression which represents the current specification.
///
/// The LINQ expression.
public override Expression> GetExpression()
{
return o => false;
}
#endregion
}
}