/// <summary> /// Given the id of the test, and the match name argument, returns a new instance /// of the given NodeTest, otherwise throws an exception if not available. /// </summary> /// <exception cref="System.Exception"/> public virtual NodeTest GetNodeTest(string id, string matchName) { NodeTest test = (NodeTest)nodeTests[id].GetConstructor(typeof(string)).NewInstance(matchName); return(test); }
public virtual void RegisterNodeTest(NodeTest nodeTestObj) { nodeTests[nodeTestObj.GetID()] = nodeTestObj.GetType(); }