ItemIdSerializerBase Class
Namespace: Stride.Core.YamlAssembly: Stride.Core.Assets.dll
A base class to serialize ItemId.
System.Object → Stride.Core.Yaml.Serialization.Serializers.ScalarSerializerBase → Stride.Core.Yaml.AssetScalarSerializerBase →
ItemIdSerializerBase
Derived from ItemIdSerializerBase: KeyWithIdSerializer
public abstract class ItemIdSerializerBase : AssetScalarSerializerBase, IYamlSerializable, IYamlSerializableFactory, IDataCustomVisitor
Name | Description | |
---|---|---|
Fields | ||
OverrideInfoKey | A key used in properties of serialization contexts to notify whether an override flag should be appened when serializing the related ItemId. |
|
Methods | ||
ConvertTo(ref ObjectContext) |
Fields
OverrideInfoKey
A key used in properties of serialization contexts to notify whether an override flag should be appened when serializing the related ItemId.
public static PropertyKey<string> OverrideInfoKey
Field Value
Type | Description |
---|---|
PropertyKey<System.String> |
Methods
ConvertTo(ref ObjectContext)
public override string ConvertTo(ref ObjectContext objectContext)
Parameters
Type | Name | Description |
---|---|---|
Stride.Core.Yaml.Serialization.ObjectContext | objectContext |
Returns
Type | Description |
---|---|
System.String |
Overrides
Stride.Core.Yaml.Serialization.Serializers.ScalarSerializerBase.ConvertTo(Stride.Core.Yaml.Serialization.ObjectContext)
Inherited Members
Stride.Core.Yaml.AssetScalarSerializerBase.TryCreate(Stride.Core.Yaml.Serialization.SerializerContext, Stride.Core.Reflection.ITypeDescriptor)
Stride.Core.Yaml.AssetScalarSerializerBase.CanVisit(System.Type)
Stride.Core.Yaml.AssetScalarSerializerBase.Visit(Stride.Core.Reflection.VisitorContext)
Stride.Core.Yaml.Serialization.Serializers.ScalarSerializerBase.ReadYaml(Stride.Core.Yaml.Serialization.ObjectContext)
Stride.Core.Yaml.Serialization.Serializers.ScalarSerializerBase.ConvertFrom(Stride.Core.Yaml.Serialization.ObjectContext, Stride.Core.Yaml.Events.Scalar)
Stride.Core.Yaml.Serialization.Serializers.ScalarSerializerBase.WriteYaml(Stride.Core.Yaml.Serialization.ObjectContext)
Stride.Core.Yaml.Serialization.Serializers.ScalarSerializerBase.WriteScalar(Stride.Core.Yaml.Serialization.ObjectContext, Stride.Core.Yaml.Serialization.ScalarEventInfo)