Click or drag to resize

FileBackedDictionary<TKey, TValue> Methods

The FileBackedDictionary<TKey, TValue> type exposes the following members.

Methods
  Name Description
Public method Add(KeyValuePair<TKey, TValue> ) Adds an item to the FileBackedDictionary<TKey, TValue>.
Public method Add(TKey, TValue) Adds an element with the provided key and value to the FileBackedDictionary<TKey, TValue>.
Public method Clear Removes all items from the FileBackedDictionary<TKey, TValue>.
Public method Close Closes the file backing this dictionary.
Public method Compact Defragments the item section of the dictionary, which gets fragmented after removing keys or updating values.
Public method Contains Determines whether the FileBackedDictionary<TKey, TValue> contains a specific value.
Public method ContainsKey Determines whether the FileBackedDictionary<TKey, TValue> contains an element with the specified key.
Public method CopyTo Copies the elements of the FileBackedDictionary<TKey, TValue> to an Array, starting at a particular Array index.
Public method Dispose Releases all the resources used by the FileBackedDictionary<TKey, TValue> object.
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public method GetEnumerator Returns an enumerator that iterates through the collection.
Public method GetHashCode Serves as the default hash function.
(Inherited from Object)
Public method GetKeys Gets an enumerable used to iterate only the keys in the dictionary.
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Public method GetValues Gets an enumerable used to iterate only the values in the dictionary.
Public method Open Opens the file backing this dictionary.
Public method OpenRead Opens the file backing this hash set in read-only mode.
Public method Remove(TKey) Removes the element with the specified key from the FileBackedDictionary<TKey, TValue>.
Public method Remove(KeyValuePair<TKey, TValue> ) Removes the first occurrence of a specific object from the FileBackedDictionary<TKey, TValue>.
Public method ToString Returns a string that represents the current object.
(Inherited from Object)
Public method TryGetValue Gets the value associated with the specified key.
Top
Extension Methods
  Name Description
Public Extension Method AllParallel<KeyValuePair<TKey, TValue> > Determines whether all elements of a sequence satisfy a condition with each item being tested in parallel.
(Defined by CollectionExtensions)
Public Extension Method DistinctBy<KeyValuePair<TKey, TValue> , TKey> Returns only the elements whose keys are distinct.
(Defined by CollectionExtensions)
Public Extension Method GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method GetEnumValueOrDefault<T> Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method Majority<KeyValuePair<TKey, TValue> > Returns the majority value in the collection, or default type value if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension Method Majority<KeyValuePair<TKey, TValue> > Returns the majority value in the collection, or defaultValue if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension Method MajorityBy<KeyValuePair<TKey, TValue> , TKey> Returns the majority value in the collection, or default type value if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension Method MajorityBy<KeyValuePair<TKey, TValue> , TKey> Returns the majority value in the collection, or defaultValue if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension Method Max<KeyValuePair<TKey, TValue> > Returns the largest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method Max<KeyValuePair<TKey, TValue> > Returns the largest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method MaxBy<KeyValuePair<TKey, TValue> , TKey> Selects the largest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method Median<KeyValuePair<TKey, TValue> > Gets the median item(s) from an enumeration, i.e., one return item for odd lengths, two for even lengths.
(Defined by CollectionExtensions)
Public Extension Method Middle<KeyValuePair<TKey, TValue> > Gets the middle item(s) from an enumeration, i.e., one return item for odd lengths, two for even lengths.
(Defined by CollectionExtensions)
Public Extension Method Min<KeyValuePair<TKey, TValue> > Returns the smallest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method Min<KeyValuePair<TKey, TValue> > Returns the smallest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method MinBy<KeyValuePair<TKey, TValue> , TKey> Selects the smallest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method Minority<KeyValuePair<TKey, TValue> > Returns the minority value in the collection, or default type value if no item represents the minority.
(Defined by CollectionExtensions)
Public Extension Method Minority<KeyValuePair<TKey, TValue> > Returns the minority value in the collection, or defaultValue if no item represents the minority.
(Defined by CollectionExtensions)
Public Extension Method MinorityBy<KeyValuePair<TKey, TValue> , TKey> Returns the minority value in the collection, or default type value if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension Method MinorityBy<KeyValuePair<TKey, TValue> , TKey> Returns the minority value in the collection, or defaultValue if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension Method StandardDeviation<KeyValuePair<TKey, TValue> > Computes the standard deviation over a sequence of Double values.
(Defined by NumericalAnalysisExtensions)
Public Extension Method StandardDeviation<KeyValuePair<TKey, TValue> > Computes the standard deviation over a sequence of Decimal values.
(Defined by NumericalAnalysisExtensions)
Public Extension Method StandardDeviation<KeyValuePair<TKey, TValue> > Computes the standard deviation over a sequence of Single values.
(Defined by NumericalAnalysisExtensions)
Public Extension Method ToDelimitedString<KeyValuePair<TKey, TValue> > Converts an enumeration to a string, using the default delimiter ("|") that can later be converted back to a list using LoadDelimitedString.
(Defined by CollectionExtensions)
Public Extension Method ToDelimitedString<KeyValuePair<TKey, TValue> > Converts an enumeration to a string that can later be converted back to a list using LoadDelimitedString.
(Defined by CollectionExtensions)
Public Extension Method ToDelimitedString<KeyValuePair<TKey, TValue> > Converts an enumeration to a string that can later be converted back to a list using LoadDelimitedString.
(Defined by CollectionExtensions)
Public Extension Method ToPagedList<KeyValuePair<TKey, TValue> > Gets a PagedList<T> to paginate source enumeration for a given page and specified pageSize.
(Defined by CollectionExtensions)
Top
See Also