in order to build 1.0.5-rc20-alpha5, an alpha6 * moves again the db context from server lib to main assembly, since migrations are not written correctly in these conditions. * fixing dep graph, while moving as must as possible code from Yavsc to Yavsc.Server * impoved topmost Makefile * cleaned the badly desined, ans system redondant "Action" definiton * reoganized some source code file locations
17 lines
329 B
C#
17 lines
329 B
C#
|
|
namespace Yavsc.Models.Process
|
|
{
|
|
public class Negation<Exp> : IRequisition where Exp : IRequisition
|
|
{
|
|
Exp _expression;
|
|
public Negation(Exp expression)
|
|
{
|
|
_expression = expression;
|
|
}
|
|
public bool Eval()
|
|
{
|
|
return !_expression.Eval();
|
|
}
|
|
}
|
|
}
|