Struct BidirectionalNativeDictionary<T1, T2>  
  
  
    - Namespace
- Zorro.Core
- Assembly
- Zorro.Core.Runtime.dll
 
  
  
  
    public struct BidirectionalNativeDictionary<T1, T2> : IDisposable where T1 : struct, IEquatable<T1> where T2 : struct, IEquatable<T2>
   
  Type Parameters
  
    - T1
- T2
    - Implements
- 
      
    
    - Inherited Members
- 
    
    
    
    
    
    
  
    - Extension Methods
- 
  
  
Constructors
  
  
  BidirectionalNativeDictionary(int, Allocator)
  
  
  
  
  
    public BidirectionalNativeDictionary(int capacity, Allocator allocator)
   
  Parameters
  
    - capacityint
- allocatorAllocator
Properties
  
  
  Count
  
  
  
  
  
    public int Count { get; }
   
  Property Value
  
    - int
Methods
  
  
  Add(T1, T2)
  
  
  
  
  
    public void Add(T1 key, T2 value)
   
  Parameters
  
    - keyT1
- valueT2
  Contains(T1)
  
  
  
  
  
    public bool Contains(T1 key)
   
  Parameters
  
    - keyT1
Returns
  
    - bool
  Contains(T2)
  
  
  
  
  
    public bool Contains(T2 key)
   
  Parameters
  
    - keyT2
Returns
  
    - bool
  Dispose()
  
  
  
  
  
  
  
  Get(T2)
  
  
  
  
  
  Parameters
  
    - keyT2
Returns
  
    - T1
  GetFromKey(T1)
  
  
  
  
  
    public T2 GetFromKey(T1 key)
   
  Parameters
  
    - keyT1
Returns
  
    - T2
  GetKeyFromValue(T2)
  
  
  
  
  
    public T1 GetKeyFromValue(T2 value)
   
  Parameters
  
    - valueT2
Returns
  
    - T1
  GetNativeHashMapT1toT2()
  
  
  
  
  
    public NativeParallelHashMap<T1, T2> GetNativeHashMapT1toT2()
   
  Returns
  
    - NativeParallelHashMap<T1, T2>
  RemoveFromKey(T1)
  
  
  
  
  
    public void RemoveFromKey(T1 key)
   
  Parameters
  
    - keyT1
  RemoveFromValue(T2)
  
  
  
  
  
    public T1 RemoveFromValue(T2 key)
   
  Parameters
  
    - keyT2
Returns
  
    - T1
  TryGetValue(T1, out T2)
  
  
  
  
  
    public bool TryGetValue(T1 key, out T2 value)
   
  Parameters
  
    - keyT1
- valueT2
Returns
  
    - bool
  TryGetValue(T2, out T1)
  
  
  
  
  
    public bool TryGetValue(T2 key, out T1 value)
   
  Parameters
  
    - keyT2
- valueT1
Returns
  
    - bool