private IMatchedFactStorage GetMatchingFactStorageTable(Atom atom) { IMatchedFactStorage mfs = (IMatchedFactStorage)matchedFactStorageTable[atom.Signature]; if (mfs == null) { if (IEImpl.FactBaseStorageType == FactBaseStorageTypes.DataTable) { mfs = new DataTableMatchedFactStorage(atom); } else { mfs = new HashtableMatchedFactStorage(atom); } matchedFactStorageTable.Add(atom.Signature, mfs); } return(mfs); }
private IMatchedFactStorage GetMatchingFactStorageTable(Atom atom) { IMatchedFactStorage mfs = (IMatchedFactStorage)matchedFactStorageTable[atom.Signature]; if (mfs == null) { if (IEImpl.FactBaseStorageType == FactBaseStorageTypes.DataTable) mfs = new DataTableMatchedFactStorage(atom); else mfs = new HashtableMatchedFactStorage(atom); matchedFactStorageTable.Add(atom.Signature, mfs); } return mfs; }