예제 #1
0
 /// <summary>
 /// Creates the fact set from an object instance with object grapher.
 /// </summary>
 /// <param name="objectinstance">The object instance.</param>
 /// <returns></returns>
 public List<WME> CreateFactSetFromObjectInstanceWithObjectGrapher(ObjectInstance objectinstance)
 {
     Object obj = objectinstance.Object;
     ObjectInterface objectinterface = new ObjectInterface(AgendaName);
     return objectinterface.createFactSetObjectInstanceWithObjectGrapher(obj);
 }
예제 #2
0
 /// <summary>
 /// Creates the fact set from an object instance.
 /// </summary>
 /// <param name="objectinstance">The object instance.</param>
 /// <param name="objectMapTable">The object map table.</param>
 /// <returns></returns>
 public List<WME> CreateFactSetFromObjectInstance(ObjectInstance objectinstance, ObjectMapTable objectMapTable)
 {
     ObjectInterface objectinterface = new ObjectInterface(AgendaName);
     Object obj = objectinstance.Object;
     return objectinterface.createFactSetFromObjectInstance(obj, objectMapTable);
 }