KnowledgeBase.IsEmpty property
Indicates whether the knowledge base is empty.
Namespace : ielib
Assembly : ielib.dll
public bool IsEmpty { get; }Property valueType : System.Boolean
true If the knowledge base is empty, otherwise
falseThe knowledge base is empty when it contains no facts and no rule.
Example:
KnowledgeBase kb = new KnowledgeBase("MyBase.xml");
if (kb.IsEmpty)
MessageBox.Show("File MyBase.xml is not found");