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