public override void SetNestedOperationState(String name, Object value) { foreach (SemanticOperation action in nestedSemanticActionList) { SemanticOperationHandler handler = SemanticOperationHandler; action.SemanticOperationHandler = handler; handler.SetOperationState(action, name, value); action.SetNestedOperationState(name, value); } }
public override void SetNestedOperationState(String name, Object value) { if (cases != null) { foreach (IfSemanticOperation aCase in cases) { SemanticOperationHandler handler = SemanticOperationHandler; aCase.SemanticOperationHandler = handler; SemanticOperationHandler.SetOperationState(aCase, name, value); aCase.SetNestedOperationState(name, value); } } if (otherwise != null) { semanticOperationHandler.SetOperationState(otherwise, name, value); otherwise.SetNestedOperationState(name, value); } }