AdvantageAttributeExtensions Members
The AdvantageAttributeExtensions type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
|
|
Clone |
Returns a deep copy of this wrapper. Each child XmlElement is
cloned via CloneNode(System.Boolean) with deep: true so mutations
on the clone don't affect the original (and vice versa). The clone is unfrozen
regardless of source state.
|
|
|
EnforceFreezeOnMutation |
Enforces the freeze contract; logs if this instance is frozen when a mutation is attempted.
|
|
|
Freeze |
Freezes this instance; subsequent mutation attempts will be logged.
|
|
|
Get |
Lookup a child extension element by local name. Returns null if no element
with that name is present.
|
Properties
| Name | Description | |
|---|---|---|
|
|
IsEmpty |
true when no extensions are currently registered. Used by
SetExtension(String, XmlElement) to null the wrapper out so the
on-disk XML doesn't carry an empty <Extensions/> element.
|
|
|
IsFrozen |
Checks whether this AdvantageAttributeExtensions is frozen. Runtime-only flag — never serialized.
|
|
|
Items |
The child extension elements. Each element's LocalName
identifies which feature owns it. Direct mutation is allowed but the convenience
helpers Get(String) / Set(String, XmlElement) handle the array-array juggling and
duplicate-name replacement.
|

