Beamable SDK
Public Member Functions | List of all members
Beamable.Server.IMongoSerializationService Interface Reference
Inheritance diagram for Beamable.Server.IMongoSerializationService:
Inheritance graph
[legend]

Public Member Functions

IMongoSerializationService RegisterStruct< T > ()
 The MongoDB driver won't automatically serialize structs correctly. You'll need to manually register your structs with this function. This function will enable serialization of the T, and List<T> More...
 

Member Function Documentation

◆ RegisterStruct< T >()

IMongoSerializationService Beamable.Server.IMongoSerializationService.RegisterStruct< T > ( )

The MongoDB driver won't automatically serialize structs correctly. You'll need to manually register your structs with this function. This function will enable serialization of the T, and List<T>

Template Parameters
TSome type of struct.
Returns
The same IMongoSerializationService instance to support method chaining

Implemented in Beamable.Server.MongoSerializationService.

Type Constraints
T :struct 

The documentation for this interface was generated from the following file: