Click or drag to resize

BootstrapperModulesSerializerRegisterSerializer Method

Register a custom serializer

Namespace:  Crosser.Server
Assembly:  Crosser.Server (in Crosser.Server.dll) Version: 0.0.5
Syntax
C#
public static bool RegisterSerializer(
	Expression<Func<ISerializer>> serializer,
	string name
)

Parameters

serializer
Type: System.Linq.ExpressionsExpressionFuncISerializer
The class implementing ISerializer
name
Type: SystemString
Unique name of the serializer

Return Value

Type: Boolean
True if the registration was successful
See Also