Firebase.Firestore.FirestoreDataAttribute

Attribute indicating that a type is intended to be used with Firestore.

Summary

Inheritance

Inherits from: Attribute

Constructors 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.Type
A custom converter type to use for serializing and deserializing the attributed type.
UnknownPropertyHandling
The strategy to use when handling unknown properties.

Properties

ConverterType

System.Type ConverterType

A custom converter type to use for serializing and deserializing the attributed type.

UnknownPropertyHandling

UnknownPropertyHandling UnknownPropertyHandling

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(
  UnknownPropertyHandling unknownPropertyHandling
)

Constructs a new instance with the given handling for unknown properties.

Details
Parameters
unknownPropertyHandling
The unknown property handling strategy to use.