DynamicYamlArray Class
Namespace: Stride.Core.YamlAssembly: Stride.Core.Assets.dll
Dynamic version of Stride.Core.Yaml.Serialization.YamlSequenceNode.
Derived from DynamicYamlArray:
public class DynamicYamlArray : DynamicYamlObject, IDynamicMetaObjectProvider, IDynamicYamlNode, IEnumerable
Name | Description | |
---|---|---|
Constructors | ||
DynamicYamlArray(YamlSequenceNode) | ||
Properties | ||
Count | ||
Node | ||
Methods | ||
Add(Object) | ||
RemoveAt(Int32) | ||
TryConvert(ConvertBinder, out Object) | ||
TryGetIndex(GetIndexBinder, Object[], out Object) | ||
TrySetIndex(SetIndexBinder, Object[], Object) | ||
Explicit Interface Implementations | ||
IDynamicYamlNode.Node | ||
IEnumerable.GetEnumerator() |
Constructors
DynamicYamlArray(YamlSequenceNode)
public DynamicYamlArray(YamlSequenceNode node)
Parameters
Type | Name | Description |
---|---|---|
Stride.Core.Yaml.Serialization.YamlSequenceNode | node |
Properties
Count
public int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Node
public YamlSequenceNode Node { get; }
Property Value
Type | Description |
---|---|
Stride.Core.Yaml.Serialization.YamlSequenceNode |
Methods
Add(Object)
public void Add(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value |
RemoveAt(Int32)
public void RemoveAt(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
TryConvert(ConvertBinder, out Object)
public override bool TryConvert(ConvertBinder binder, out object result)
Parameters
Type | Name | Description |
---|---|---|
System.Dynamic.ConvertBinder | binder | |
System.Object | result |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Dynamic.DynamicObject.TryConvert(System.Dynamic.ConvertBinder, System.Object)
TryGetIndex(GetIndexBinder, Object[], out Object)
public override bool TryGetIndex(GetIndexBinder binder, object[] indexes, out object result)
Parameters
Type | Name | Description |
---|---|---|
System.Dynamic.GetIndexBinder | binder | |
System.Object[] | indexes | |
System.Object | result |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Dynamic.DynamicObject.TryGetIndex(System.Dynamic.GetIndexBinder, System.Object[], System.Object)
TrySetIndex(SetIndexBinder, Object[], Object)
public override bool TrySetIndex(SetIndexBinder binder, object[] indexes, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Dynamic.SetIndexBinder | binder | |
System.Object[] | indexes | |
System.Object | value |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Dynamic.DynamicObject.TrySetIndex(System.Dynamic.SetIndexBinder, System.Object[], System.Object)
|
Improve this Doc
View Source
Explicit Interface Implementations
IDynamicYamlNode.Node
YamlNode IDynamicYamlNode.Node { get; }
Returns
Type | Description |
---|---|
Stride.Core.Yaml.Serialization.YamlNode |
IEnumerable.GetEnumerator()
IEnumerator IEnumerable.GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator |
Inherited Members
System.Dynamic.DynamicObject.TryGetMember(System.Dynamic.GetMemberBinder, System.Object)
System.Dynamic.DynamicObject.TrySetMember(System.Dynamic.SetMemberBinder, System.Object)
System.Dynamic.DynamicObject.TryDeleteMember(System.Dynamic.DeleteMemberBinder)
System.Dynamic.DynamicObject.TryInvokeMember(System.Dynamic.InvokeMemberBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryCreateInstance(System.Dynamic.CreateInstanceBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryInvoke(System.Dynamic.InvokeBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryBinaryOperation(System.Dynamic.BinaryOperationBinder, System.Object, System.Object)
System.Dynamic.DynamicObject.TryUnaryOperation(System.Dynamic.UnaryOperationBinder, System.Object)
System.Dynamic.DynamicObject.TryDeleteIndex(System.Dynamic.DeleteIndexBinder, System.Object[])
System.Dynamic.DynamicObject.GetDynamicMemberNames()
System.Dynamic.DynamicObject.GetMetaObject(System.Linq.Expressions.Expression)