Firebase. Firestore. FirestoreDataAttribute
Attribute indicating that a type is intended to be used withFirestore.
Summary
Inheritance
Inherits from: AttributeConstructors and Destructors | |
|---|---|
FirestoreDataAttribute()Constructs a new instance with default values for options. | |
FirestoreDataAttribute(UnknownPropertyHandling unknownPropertyHandling)Constructs a new instance with the given handling for unknown properties. |
Properties | |
|---|---|
ConverterType | System.TypeA custom converter type to use for serializing and deserializing the attributed type. |
UnknownPropertyHandling | The strategy to use when handling unknown properties. |
Properties
ConverterType
System.TypeConverterType
A custom converter type to use for serializing and deserializing the attributed type.
UnknownPropertyHandling
UnknownPropertyHandlingUnknownPropertyHandling
The strategy to use when handling unknown properties.
The default is UnknownPropertyHandling.Warn.
Public functions
FirestoreDataAttribute
FirestoreDataAttribute()
Constructs a new instance with default values for options.
FirestoreDataAttribute
FirestoreDataAttribute(UnknownPropertyHandlingunknownPropertyHandling)
Constructs a new instance with the given handling for unknown properties.
| Details | |||
|---|---|---|---|
| Parameters |
|
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-06-17 UTC.