Class ProtoBsonSerializer<T>
Inheritance
System.Object
ProtoBsonSerializer<T>
Assembly: Catalyst.Modules.Repository.MongoDb.dll
Syntax
public class ProtoBsonSerializer<T> : IBsonSerializer where T : IMessage, new()
Type Parameters
Properties
|
Improve this Doc
View Source
ValueType
Declaration
public Type ValueType { get; }
Property Value
Type |
Description |
System.Type |
|
Methods
|
Improve this Doc
View Source
Deserialize(BsonDeserializationContext, BsonDeserializationArgs)
Declaration
public object Deserialize(BsonDeserializationContext context, BsonDeserializationArgs args)
Parameters
Type |
Name |
Description |
BsonDeserializationContext |
context |
|
BsonDeserializationArgs |
args |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
Serialize(BsonSerializationContext, BsonSerializationArgs, Object)
Declaration
public void Serialize(BsonSerializationContext context, BsonSerializationArgs args, object value)
Parameters
Type |
Name |
Description |
BsonSerializationContext |
context |
|
BsonSerializationArgs |
args |
|
System.Object |
value |
|