/// <summary> Method is called to Remove an activation from the agenda. /// </summary> /// <param name="">actv /// /// </param> public virtual void removeActivation(IActivation actv) { if (profRm) { removeActivationWProfile(actv); } else { if (watch_Renamed_Field) { engine.writeMessage("<= " + actv.toPPString() + "\r\n", "t"); } actv.Rule.Module.removeActivation(actv); } }
/// <summary> Add an activation to the agenda. /// </summary> /// <param name="">actv /// /// </param> public virtual void addActivation(IActivation actv) { // the implementation should Get the current focus from Rete // and then Add the activation to the Module. if (profAdd) { addActivationWProfile(actv); } else { if (watch_Renamed_Field) { engine.writeMessage("=> " + actv.toPPString() + "\r\n", "t"); } actv.Rule.Module.addActivation(actv); } }