public sealed class ConverterRegistry : IEnumerable
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 \u003ccode\u003eConverterRegistry\u003c/code\u003e class allows you to register custom converters for types that don't have Firestore-specific attributes.\u003c/p\u003e\n"],["\u003cp\u003eThis registry is used when creating a \u003ccode\u003eFirestoreDb\u003c/code\u003e instance, allowing for type conversions within Firestore operations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAdd<T>(IFirestoreConverter<T>)\u003c/code\u003e method enables the addition of a new converter to the registry, associating it with a specific type.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eConverterRegistry\u003c/code\u003e implements \u003ccode\u003eIEnumerable\u003c/code\u003e, providing a way to enumerate through the registered converters.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eConverterRegistry\u003c/code\u003e allows the custom conversion of data to and from Firestore in an instance of \u003ccode\u003eFirestoreDb\u003c/code\u003e by creating an instance of \u003ccode\u003eConverterRegistry\u003c/code\u003e during the construction of the \u003ccode\u003eFirestoreDb\u003c/code\u003e with the \u003ccode\u003eFirestoreDbBuilder\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]