public sealed class ConverterRegistry : IEnumerable
Reference documentation and code samples for the Firestore API class ConverterRegistry.
Registry of custom converters. This is used to avoid requiring Firestore-specific attributes on types
which may be intended to be non-Firestore-specific. The registry may be specified when creating a FirestoreDb
via ConverterRegistry.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the Firestore API class ConverterRegistry is 3.10.0, with 3.9.0 being the currently viewed version.\u003c/p\u003e\n"],["\u003cp\u003eConverterRegistry is a class that manages custom type converters within the Firestore API, allowing for the use of non-Firestore-specific types.\u003c/p\u003e\n"],["\u003cp\u003eThe class can be implemented with \u003ccode\u003eIEnumerable\u003c/code\u003e and inherits methods from \u003ccode\u003eobject\u003c/code\u003e like \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAdd<T>(IFirestoreConverter<T>)\u003c/code\u003e method adds a specified converter to the registry, with a possible \u003ccode\u003eArgumentException\u003c/code\u003e if there is already a converter for the same type.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eConverterRegistry\u003c/code\u003e is specified when creating a \u003ccode\u003eFirestoreDb\u003c/code\u003e via \u003ccode\u003eConverterRegistry\u003c/code\u003e and is used to avoid needing Firestore-specific attributes on types.\u003c/p\u003e\n"]]],[],null,[]]