Quantum 3 3.0.14

Public Member Functions | Public Attributes | Properties | List of all members
Quantum.SerializeReferenceTypePickerAttribute Class Reference

Attribute used to show a type picker for a field with [SerializeReference]. More...

Inheritance diagram for Quantum.SerializeReferenceTypePickerAttribute:
Quantum.DecoratingPropertyAttribute Quantum.PropertyAttribute

Public Member Functions

 SerializeReferenceTypePickerAttribute (params Type[] types)
 Initializes a new instance of the SerializeReferenceTypePickerAttribute class. More...
 

Public Attributes

bool GroupTypesByNamespace = true
 Should the types be grouped by namespace? More...
 
bool ShowFullName = false
 Should the full name be shown? More...
 

Properties

Type[] Types [get]
 Gets the types to be picked. More...
 
- Properties inherited from Quantum.PropertyAttribute
int order [get, set]
 The order in which the property will be displayed. More...
 

Additional Inherited Members

- Static Public Attributes inherited from Quantum.DecoratingPropertyAttribute
const int DefaultOrder = -10000
 The default order of the attribute. More...
 
- Protected Member Functions inherited from Quantum.DecoratingPropertyAttribute
 DecoratingPropertyAttribute (bool applyToCollection=false)
 Initializes a new instance with the default order. More...
 
 DecoratingPropertyAttribute (int order, bool applyToCollection=false)
 Initializes a new instance with the specified order. More...
 

Detailed Description

Attribute used to show a type picker for a field with [SerializeReference].

Constructor & Destructor Documentation

◆ SerializeReferenceTypePickerAttribute()

Quantum.SerializeReferenceTypePickerAttribute.SerializeReferenceTypePickerAttribute ( params Type[]  types)
inline

Initializes a new instance of the SerializeReferenceTypePickerAttribute class.

Parameters
typesThe types to be picked.

Member Data Documentation

◆ GroupTypesByNamespace

bool Quantum.SerializeReferenceTypePickerAttribute.GroupTypesByNamespace = true

Should the types be grouped by namespace?

◆ ShowFullName

bool Quantum.SerializeReferenceTypePickerAttribute.ShowFullName = false

Should the full name be shown?

Property Documentation

◆ Types

Type [] Quantum.SerializeReferenceTypePickerAttribute.Types
get

Gets the types to be picked.