SerializerFactory Class
Namespace: Stride.Core.SerializationAssembly: Stride.Core.dll
Used as a fallback when GetSerializer(ref ObjectId) didn't find anything.
System.Object →
SerializerFactory
Derived from SerializerFactory: GenericSerializerFactory
public abstract class SerializerFactory
Name | Description | |
---|---|---|
Methods | ||
GetSerializer(SerializerSelector, ref ObjectId) | ||
GetSerializer(SerializerSelector, Type) |
Methods
GetSerializer(SerializerSelector, ref ObjectId)
public abstract DataSerializer GetSerializer(SerializerSelector selector, ref ObjectId typeId)
Parameters
Type | Name | Description |
---|---|---|
SerializerSelector | selector | |
ObjectId | typeId |
Returns
Type | Description |
---|---|
DataSerializer |
GetSerializer(SerializerSelector, Type)
public abstract DataSerializer GetSerializer(SerializerSelector selector, Type type)
Parameters
Type | Name | Description |
---|---|---|
SerializerSelector | selector | |
System.Type | type |
Returns
Type | Description |
---|---|
DataSerializer |