Exemplo n.º 1
0
 private bool EveryOneAgree(ILambdaItem arg)
 {
     return(arg.ParentLambda("ApplyToCouncil").IsSignalled("CApproved") &&
            arg.ParentLambda("ApplyToFireDept").IsSignalled("FApproved") &&
            arg.ParentLambda("ApplyToForestDept").IsSignalled("FrApproved"));
 }
Exemplo n.º 2
0
 private bool AnyOneDisagree(ILambdaItem arg)
 {
     return(arg.ParentLambda("ApplyToCouncil").IsSignalled("CRejected") ||
            arg.ParentLambda("ApplyToFireDept").IsSignalled("FRejected") ||
            arg.ParentLambda("ApplyToForestDept").IsSignalled("FrRejected"));
 }