Exemplo n.º 1
0
 private void CheckExtProperties(Dictionary <string, object> from, ExtentionPropertyCollection to)
 {
     foreach (var pair in from)
     {
         var key   = pair.Key;
         var value = pair.Value;
         if (to.HasKey(key) == false)
         {
             throw new Exception("Не удалось найти ключ " + key);
         }
         var value2 = to[key].Value;
         Assert.Equal(value, value2);
     }
 }