Class ComponentListSerializer
Serializer of the component list in Yaml.
Inheritance
ComponentListSerializer
Implements
IYamlSerializable
IYamlSerializableFactory
Inherited Members
Namespace: Evergine.Framework.Assets.Serialization
Assembly: Evergine.Framework.dll
Syntax
public class ComponentListSerializer : CustomYamlCollectionSerializer, IYamlSerializable, IYamlSerializableFactory
Properties
IsFactory
Gets a value indicating whether the serializer is a factory.
Declaration
public override bool IsFactory { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Overrides
Type
Gets the type of the serializer.
Declaration
public override Type Type { get; }
Property Value
| Type | Description |
|---|---|
| Type |
Overrides
Methods
ReadCollectionItem(ref ObjectContext, object, Type, int)
Declaration
protected override object ReadCollectionItem(ref ObjectContext objectContext, object value, Type itemType, int index)
Parameters
| Type | Name | Description |
|---|---|---|
| ObjectContext | objectContext | |
| object | value | |
| Type | itemType | |
| int | index |
Returns
| Type | Description |
|---|---|
| object |
Overrides
Implements
SharpYaml.Serialization.IYamlSerializable
SharpYaml.Serialization.IYamlSerializableFactory