/// <summary> /// Modify a Fact by Retracting it and Asserting the replacement one. /// If the new Fact has no label (null or Empty), then the Label of the existing fact is kept. /// </summary> /// <param name="currentFactLabel">The label of the Fact to modify.</param> /// <param name="newFact">The Fact to modify to.</param> /// <returns>True if <term>currentFact</term> has been retracted from the FactBase, otherwise False ; this whether <term>newFact</term> already exists in the factbase, or not.</returns> public bool Modify(string currentFactLabel, Fact newFact) { return(IE.Modify(currentFactLabel, newFact)); }
/// <summary> /// Modify a Fact by Retracting it and Asserting the replacement one. /// If the new Fact has no label (null or Empty), then the Label of the existing fact is kept. /// </summary> /// <param name="currentFact">The Fact to modify.</param> /// <param name="newFact">The Fact to modify to.</param> /// <returns>True if <term>currentFact</term> has been retracted from the FactBase, otherwise False ; this whether <term>newFact</term> already exists in the factbase, or not.</returns> public bool Modify(Fact currentFact, Fact newFact) { return(IE.Modify(currentFact, newFact)); }