Exemplo n.º 1
0
 internal void Add(LookupImpl lookup)
 {
     if (m_collection == null)
     {
         m_collection = new Dictionary <string, LookupImpl>();
     }
     m_collection.Add(lookup.Name, lookup);
 }
Exemplo n.º 2
0
 public override Lookup this[string key]
 {
     get
     {
         LookupImpl value = null;
         if (key == null || m_collection == null || !m_collection.TryGetValue(key, out value))
         {
             throw new ReportProcessingException_NonExistingLookupReference();
         }
         return(value);
     }
 }