/// <summary> /// Called by the GenericMergeList method /// </summary> /// <param name="rE"></param> /// <returns></returns> SimpleEventInfo FindOrCreate(Runner.SimpleEventInfo rE) { SimpleEventInfo foundE = null; foreach (SimpleEventInfo p in this._eventsInfoCollection) { if (p.Name == rE.Name) { foundE = p; } } if (foundE != null) { foundE.Merge(rE); } else { foundE = new SimpleEventInfo(); foundE.Initialize(rE); } return(foundE); }
internal bool Merge(Discoverer.Runner.SimpleEventInfo r) { return(false); }
internal void Initialize(Discoverer.Runner.SimpleEventInfo r) { _name = r.Name; }