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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-01 UTC."],[[["This webpage provides reference documentation for the `ConverterRegistry` class within the Google Cloud Firestore API, specifically in version 3.3.0 and later."],["`ConverterRegistry` is a class that manages a collection of custom converters, which are used to handle data types not directly supported by Firestore, helping to avoid the necessity for Firestore-specific attributes on types."],["The registry is utilized when creating a `FirestoreDb` instance through the `FirestoreDbBuilder` and its `ConverterRegistry` property."],["The class implements the `IEnumerable` interface and inherits from the base `object` class, providing core functionality like getting the hash code, type, and string representation."],["The primary method, `Add\u003cT\u003e(IFirestoreConverter\u003cT\u003e)`, is used to register a new converter for a specific type, throwing an `ArgumentException` if a converter for that type already exists."]]],[]]