Firebase.Firestore.FirestorePropertyAttribute

Attribute indicating that a property should be included in Firestore conversions.

Summary

Inheritance

Inherits from: Attribute

Constructors and Destructors

FirestorePropertyAttribute()
Creates an instance with no specified name.
FirestorePropertyAttribute(string name)
Creates an instance with the specified name.

Properties

ConverterType
System.Type
A custom converter type to use for the attributed property.
Name
string
The name to use within the Firestore document.

Properties

ConverterType

System.Type ConverterType

A custom converter type to use for the attributed property.

Name

string Name

The name to use within the Firestore document.

If not set, the name of the property is used directly.

Public functions

FirestorePropertyAttribute

 FirestorePropertyAttribute()

Creates an instance with no specified name.

FirestorePropertyAttribute

 FirestorePropertyAttribute(
  string name
)

Creates an instance with the specified name.

Details
Parameters
name
The name to use within the Firestore document.