Commit 1439ea8
committed
Introduced special
The `Reflexive` value instructs callers of an `AttributeDescriptor` to gets its `ModelType` from the `AttributeDescriptor.ModelType` of the `AttributeDescriptor` derivative that the `AttributeDescriptor` is placed on.
This is a special scenario which allows e.g. the OnTopic Editor to display an attribute on an `AttributeDescriptor` which uses the current topic's values, and stores the result in the same location as the current topic.
This is useful for e.g. `AttributeDescriptor.DefaultValue`, which should be set to use the same attribute type and storage location as the `AttributeDescriptor` it is set for (OnTopicCMS/OnTopic-Editor-AspNetCore#44).ModelType.Reflexive enum value1 parent d936bcb commit 1439ea8
1 file changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
59 | 73 | | |
60 | 74 | | |
61 | 75 | | |
0 commit comments