Try putting the delegate method in a new class whose constructor takes the parameter you need. You can then set a class member variable equal to the parameter. Since the delegate method lives inside the class, it has access to that class member variable.
public class DelegateHolder {
public DelegateHolder(String pSomeParameter) {
mSomeParameter = pSomeParameter;
}
private static VerifierResult SomeCondition(
Employee pEmp, TriggerContext pTriggerContext, VerifierContext pVerifierContext) {
bool result;
if (mSomeParameter = "foo" {
// do something
}
return new VerifierResult(result);
}
private String mSomeParameter;
}
Greg Dunn
IdeaBlade