public void SetMetadata(string tab, Dictionary <string, string> metadata)
 {
     foreach (var item in metadata)
     {
         NativeInterface.AddToTab(tab, item.Key, item.Value);
     }
 }
 public void SetMetadata(string tab, Dictionary <string, string> metadata)
 {
     if (metadata != null)
     {
         foreach (var item in metadata)
         {
             NativeInterface.AddToTab(tab, item.Key, item.Value);
         }
     }
     else
     {
         NativeInterface.RemoveMetadata(tab);
     }
 }