C# Class Xenko.Core.Serialization.SerializerFactory

Used as a fallback when SerializerSelector.GetSerializer didn't find anything.
显示文件 Open project: xen2/stride

Public Methods

Method Description
GetSerializer ( Xenko.Core.Serialization.SerializerSelector selector, ObjectId &typeId ) : Xenko.Core.Serialization.DataSerializer
GetSerializer ( Xenko.Core.Serialization.SerializerSelector selector, Type type ) : Xenko.Core.Serialization.DataSerializer

Method Details

GetSerializer() public abstract method

public abstract GetSerializer ( Xenko.Core.Serialization.SerializerSelector selector, ObjectId &typeId ) : Xenko.Core.Serialization.DataSerializer
selector Xenko.Core.Serialization.SerializerSelector
typeId ObjectId
return Xenko.Core.Serialization.DataSerializer

GetSerializer() public abstract method

public abstract GetSerializer ( Xenko.Core.Serialization.SerializerSelector selector, Type type ) : Xenko.Core.Serialization.DataSerializer
selector Xenko.Core.Serialization.SerializerSelector
type Type
return Xenko.Core.Serialization.DataSerializer