Exemplo n.º 1
0
 private protected override int IndexFromKeyCore(string id)
 {
     if (m_uniqueIdMaping != null)
     {
         return(m_uniqueIdMaping.IndexFromKey(id));
     }
     else
     {
         throw new NotImplementedException();
     }
 }
Exemplo n.º 2
0
 int IndexFromKeyCore(string id)
 {
     if (m_uniqueIdMaping != null)
     {
         return(m_uniqueIdMaping.IndexFromKey(id));
     }
     else
     {
         throw new InvalidOperationException("ID mapping not set.");
     }
 }