Definition at line 11 of file ModelNodeExtensions.cs.
static IModelNode SiliconStudio.Quantum.ModelNodeExtensions.GetChild |
( |
this IModelNode |
modelNode, |
|
|
string |
name |
|
) |
| |
|
static |
Retrieve the child node of the given IModelNode that matches the given name.
- Parameters
-
modelNode | The view model node to look into. |
name | The name of the child to retrieve. |
- Returns
- The child node that matches the given name, or
null
if no child matches.
Definition at line 19 of file ModelNodeExtensions.cs.
static IModelNode SiliconStudio.Quantum.ModelNodeExtensions.GetChildThroughReferences |
( |
this IModelNode |
modelNode, |
|
|
string |
name |
|
) |
| |
|
static |
Gets the child of the given node that matches the given name. If the given node holds an object reference, resolve the target of the reference and gets the child of the target node that matches the given name.
- Parameters
-
modelNode | The model node. |
name | The name of the child to retrieve. |
- Returns
Definition at line 43 of file ModelNodeExtensions.cs.
static IModelNode SiliconStudio.Quantum.ModelNodeExtensions.GetReferencedChild |
( |
this IModelNode |
modelNode, |
|
|
string |
name |
|
) |
| |
|
static |
Retrieve the child node of the given IModelNode that matches the given name. If the node represents an object reference, it returns the referenced object.
- Parameters
-
modelNode | The view model node to look into. |
name | The name of the child to retrieve. |
- Returns
- The child node that matches the given name, or the referenced node if the child hold an object reference, or
null
if no child matches.
Definition at line 30 of file ModelNodeExtensions.cs.
static bool SiliconStudio.Quantum.ModelNodeExtensions.IsPrimitiveCollection |
( |
this ITypeDescriptor |
descriptor | ) |
|
|
static |
static IModelNode SiliconStudio.Quantum.ModelNodeExtensions.ResolveTarget |
( |
this IModelNode |
modelNode | ) |
|
|
static |
Gets the target node of the given IModelNode if it holds an object reference, or returns the node itself otherwise
- Parameters
-
modelNode | The node that may contains an object reference. |
- Returns
- The target node of the given IModelNode if it holds an object reference, or the node itself otherwise.
Definition at line 54 of file ModelNodeExtensions.cs.
The documentation for this class was generated from the following file:
- D:/Projects/Bitbucket Hosting/DoxygenFilesAndSources/Paradox v1.0.0 beta06/sources/common/presentation/SiliconStudio.Quantum/ModelNodeExtensions.cs