Difference between revisions of "DOM Utility Types"

From Virtual World Web Wiki
Jump to: navigation, search
(Documentation for the DOM Utility Types class)
(Documentation for the DOM Utility Types class)
Line 1: Line 1:
 
===Remarks <nowiki>[</nowiki>[{{fullurl:DOM Utility Types Remarks|action=edit}} edit]<nowiki>]</nowiki>===
 
===Remarks <nowiki>[</nowiki>[{{fullurl:DOM Utility Types Remarks|action=edit}} edit]<nowiki>]</nowiki>===
 
{{#ifexist:DOM Utility Types Remarks|{{:DOM Utility Types Remarks}}|}}
 
{{#ifexist:DOM Utility Types Remarks|{{:DOM Utility Types Remarks}}|}}
 +
 +
===<span id="DOMAttributeCollection"></span>DOMAttributeCollection <span class="SectionLink">([[DOMAttributeCollection|Full Article]])</span>===
 +
Represents a collection of attributes used for [[DOM Attribution]]. This is a part of the infrastructure and should not be used directly unless you are creating a custom attributed object type directly.
 +
 +
===<span id="DOMAttributeSet"></span>DOMAttributeSet <span class="SectionLink">([[DOMAttributeSet|Full Article]])</span>===
 +
Represents the set of properties defined on a [[DOM Object]] or [[DOMPropertyItem]]
  
 
===<span id="DOMLock"></span>DOMLock <span class="SectionLink">([[DOMLock|Full Article]])</span>===
 
===<span id="DOMLock"></span>DOMLock <span class="SectionLink">([[DOMLock|Full Article]])</span>===
Line 6: Line 12:
 
You take a write lock when you need exclusive access to the DOM. This is meant only for serialization when a DOM snapshot must be consistent and come between updates.
 
You take a write lock when you need exclusive access to the DOM. This is meant only for serialization when a DOM snapshot must be consistent and come between updates.
 
The lock you hold is actually on the entire DOM root document, as well as a standard monitor lock on the "LockObject".
 
The lock you hold is actually on the entire DOM root document, as well as a standard monitor lock on the "LockObject".
 +
 +
===<span id="DOMPropertyItem"></span>DOMPropertyItem <span class="SectionLink">([[DOMPropertyItem|Full Article]])</span>===
 +
Represents a single property of a [[DOM Object]]. Properties can be accessed directly through a DOM Object's Properties collection (see [[DOMPropertyCollection]]) or indirectly through formal C# properties on the parent DOM Object (for example the Color property of a [[DOMLight]] object indirectly gets or sets a DOMPropertyItem with the name "Color" in the DOMLight's DOMPropertyCollection).
  
 
__NOTOC____NOEDITSECTION__
 
__NOTOC____NOEDITSECTION__

Revision as of 14:14, 18 January 2019

Remarks [edit]

DOMAttributeCollection (Full Article)

Represents a collection of attributes used for DOM Attribution. This is a part of the infrastructure and should not be used directly unless you are creating a custom attributed object type directly.

DOMAttributeSet (Full Article)

Represents the set of properties defined on a DOM Object or DOMPropertyItem

DOMLock (Full Article)

Manages a lock on a DOM tree. You take a read lock along with others when you want to work with the DOM but ar ok with other users reading / writing themselves. You take a write lock when you need exclusive access to the DOM. This is meant only for serialization when a DOM snapshot must be consistent and come between updates. The lock you hold is actually on the entire DOM root document, as well as a standard monitor lock on the "LockObject".

DOMPropertyItem (Full Article)

Represents a single property of a DOM Object. Properties can be accessed directly through a DOM Object's Properties collection (see DOMPropertyCollection) or indirectly through formal C# properties on the parent DOM Object (for example the Color property of a DOMLight object indirectly gets or sets a DOMPropertyItem with the name "Color" in the DOMLight's DOMPropertyCollection).