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 \u003ccode\u003eConverterRegistry\u003c/code\u003e documentation is 3.10.0, with several older versions available for reference, including back to version 2.3.1.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eConverterRegistry\u003c/code\u003e is a class used to manage custom converters for Firestore API, avoiding the need for Firestore-specific attributes on potentially non-Firestore-specific types.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eConverterRegistry\u003c/code\u003e can be specified when creating a \u003ccode\u003eFirestoreDb\u003c/code\u003e via \u003ccode\u003eFirestoreDbBuilder\u003c/code\u003e, allowing for custom conversion logic within Firestore interactions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAdd<T>(IFirestoreConverter<T>)\u003c/code\u003e method enables adding a custom converter to the registry, where \u003ccode\u003eT\u003c/code\u003e is the type the converter works with, but throws an exception if a converter for that type already exists.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \u003ccode\u003eIEnumerable\u003c/code\u003e, providing standard object functionalities like \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, \u003ccode\u003eToString()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]