SerializerRepositoryGetDefault Method (SerializationContext) |
Gets the system default repository bound for specified context.
Namespace: MsgPack.SerializationAssembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax public static SerializerRepository GetDefault(
SerializationContext ownerContext
)
Public Shared Function GetDefault (
ownerContext As SerializationContext
) As SerializerRepository
public:
static SerializerRepository^ GetDefault(
SerializationContext^ ownerContext
)
static member GetDefault :
ownerContext : SerializationContext -> SerializerRepository
Parameters
- ownerContext
- Type: MsgPack.SerializationSerializationContext
A SerializationContext which will be bound to default serializers.
Return Value
Type:
SerializerRepository
The system default repository.
This value will not be
null.
Note that the repository is frozen.
Exceptions See Also