-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
148 additions
and
341 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 0 additions & 37 deletions
37
src/Primitively.MongoDB.Bson/Serialization/BsonSerializerBuilder.cs
This file was deleted.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
src/Primitively.MongoDB.Bson/Serialization/BsonSerializerManager.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using MongoDB.Bson.Serialization; | ||
|
||
namespace Primitively.MongoDB.Bson.Serialization; | ||
|
||
public class BsonSerializerManager : IBsonSerializerManager | ||
{ | ||
public IBsonSerializer LookupSerializer(Type type) => | ||
BsonSerializer.LookupSerializer(type); | ||
|
||
public bool TryRegisterSerializer(Type type, IBsonSerializer serializer) => | ||
BsonSerializer.TryRegisterSerializer(type, serializer); | ||
} |
184 changes: 0 additions & 184 deletions
184
src/Primitively.MongoDB.Bson/Serialization/BsonSerializerRegisterBuilder.cs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.