|   | FileBackedDictionaryTKey, TValue(IDictionaryTKey, TValue) Constructor | 
        
        
        
        Namespace: GSF.CollectionsAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.257-beta+00aa2366fbb9ec75f636ebc7cfa610e3826a727c
 Syntax
Syntaxpublic FileBackedDictionary(
	IDictionary<TKey, TValue> dictionary
)
Public Sub New ( 
	dictionary As IDictionary(Of TKey, TValue)
)
public:
FileBackedDictionary(
	IDictionary<TKey, TValue>^ dictionary
)
new : 
        dictionary : IDictionary<'TKey, 'TValue> -> FileBackedDictionaryGSF.Collections.FileBackedDictionary = function(dictionary);
Parameters
- dictionary  IDictionaryTKey, TValue
- The dictionary whose elements are copied to this dictionary.
 Exceptions
Exceptions Remarks
Remarks
            This constructor uses the default equality comparer for file backed lookup tables,
            which is not the same as the default equality comparer for 
TKey
            objects. This is because the default implementation of 
GetHashCode
            does not provide guarantees about consistency across platforms, or even implementations
            of the CLR. Instead, the default equality comparer uses a byte-for-byte comparison to
            determine equality between keys and a CRC-32 for its hash code implementation. This
            means the performance of the hashing function is dependent on the performance of the
            serialization function.
            
 See Also
See Also