Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
74 lines (71 sloc) 2.29 KB
title name permalink
SerializationManager
SerializationManager
/api/serialization-manager/

SerializationManager ``class``

Namespace: MLAPI.Serialization

Assembly: MLAPI.dll

Helper class to manage the MLAPI serialization.

Public Static Methods

public static ``void`` RegisterSerializationHandlers(``CustomSerializationDelegate`` onSerialize, ``CustomDeserializationDelegate`` onDeserialize);

Parameters

``CustomSerializationDelegate`` onSerialize

``CustomDeserializationDelegate`` onDeserialize


public static ``bool`` RemoveSerializationHandlers();


public static ``bool`` IsTypeSupported(``Type`` type);

Returns if a type is supported for serialization

Parameters

``Type`` type

The type to check

Returns ``bool``

Whether or not the type is supported



Inherited Methods

public ``string`` ToString();

Inherited from: ``object``

public ``bool`` Equals(``object`` obj);

Inherited from: ``object``
Parameters

``object`` obj


public ``int`` GetHashCode();

Inherited from: ``object``

public ``Type`` GetType();

Inherited from: ``object``

You can’t perform that action at this time.