2016-05-17 18:22:18 +02:00
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
2017-01-13 16:31:40 +01:00
|
|
|
namespace Yavsc.Models.Process
|
2016-05-17 18:22:18 +02:00
|
|
|
{
|
|
|
|
|
public class Conjonction : List<IRequisition>, IRequisition
|
|
|
|
|
{
|
|
|
|
|
public bool Eval()
|
|
|
|
|
{
|
|
|
|
|
foreach (var req in this)
|
|
|
|
|
if (!req.Eval())
|
|
|
|
|
return false;
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|