Trait Reference
From SDK version 1.2 this class extends CdmTraitReferenceBase instead of CdmObjectReferenceBase
This is the reference class for traits.
public class CdmTraitReference extends CdmTraitReferenceBase
Constructors
Name | Description |
---|---|
CdmTraitReference(CdmCorpusContext, dynamic, bool, bool) ctx: The corpus context. trait: The trait that this trait reference is referencing. simpleReference: A boolean that denotes whether this trait reference is simple named or not. The default value is false. hasArguments: A boolean that denotes whether this trait reference has arguments. |
Initializes a new instance of the CdmTraitReference class. |
Properties
Name | Type | Description |
---|---|---|
IsFromProperty | bool | Denotes whether the trait was generated from a property or if it was directly loaded. |
Arguments | CdmArgumentCollection | The trait reference's arguments. |
Povratne informacije
https://aka.ms/ContentUserFeedback.
Stiže uskoro: Tokom 2024. godine postepeno ćemo ukidati probleme sa uslugom GitHub kao mehanizam povratnih informacija za sadržaj i zameniti ga novim sistemom povratnih informacija. Dodatne informacije potražite u članku:Prosledite i prikažite povratne informacije za