public void Add(LookupImpl lookup) { if (this.m_collection == null) { this.m_collection = new Dictionary <string, LookupImpl>(); } this.m_collection.Add(lookup.Name, lookup); }
public override Lookup this[string key] { get { LookupImpl result = null; if (key != null && this.m_collection != null && this.m_collection.TryGetValue(key, out result)) { return(result); } throw new ReportProcessingException_NonExistingLookupReference(); } }