Esempio n. 1
0
 public void Add(LookupImpl lookup)
 {
     if (this.m_collection == null)
     {
         this.m_collection = new Dictionary <string, LookupImpl>();
     }
     this.m_collection.Add(lookup.Name, lookup);
 }
Esempio n. 2
0
 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();
     }
 }