en supprimant Yavsc.Api
This commit is contained in:
parent
46295cc25e
commit
a44f99ce8d
102 changed files with 326 additions and 80 deletions
16
Yavsc/Model/Workflow/Process/Conjonction.cs
Normal file
16
Yavsc/Model/Workflow/Process/Conjonction.cs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
using System.Collections.Generic;
|
||||
|
||||
namespace Yavsc.Models
|
||||
{
|
||||
public class Conjonction : List<IRequisition>, IRequisition
|
||||
{
|
||||
public bool Eval()
|
||||
{
|
||||
foreach (var req in this)
|
||||
if (!req.Eval())
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue