@@ -101,7 +101,7 @@ public static BsonDocumentWrapper Create<TNominalType>(TNominalType value) =>
101
101
/// <param name="domain"></param>
102
102
/// <typeparam name="TNominalType"></typeparam>
103
103
/// <returns></returns>
104
- public static BsonDocumentWrapper Create < TNominalType > ( TNominalType value , IBsonSerializationDomain domain )
104
+ internal static BsonDocumentWrapper Create < TNominalType > ( TNominalType value , IBsonSerializationDomain domain )
105
105
{
106
106
return Create ( typeof ( TNominalType ) , value , domain ) ;
107
107
}
@@ -122,7 +122,7 @@ public static BsonDocumentWrapper Create(Type nominalType, object value) =>
122
122
/// <param name="value"></param>
123
123
/// <param name="domain"></param>
124
124
/// <returns></returns>
125
- public static BsonDocumentWrapper Create ( Type nominalType , object value , IBsonSerializationDomain domain )
125
+ internal static BsonDocumentWrapper Create ( Type nominalType , object value , IBsonSerializationDomain domain )
126
126
{
127
127
var serializer = domain . LookupSerializer ( nominalType ) ;
128
128
return new BsonDocumentWrapper ( value , serializer ) ;
@@ -145,7 +145,7 @@ public static IEnumerable<BsonDocumentWrapper> CreateMultiple<TNominalType>(IEnu
145
145
/// <typeparam name="TNominalType"></typeparam>
146
146
/// <returns></returns>
147
147
/// <exception cref="ArgumentNullException"></exception>
148
- public static IEnumerable < BsonDocumentWrapper > CreateMultiple < TNominalType > ( IEnumerable < TNominalType > values , IBsonSerializationDomain domain )
148
+ internal static IEnumerable < BsonDocumentWrapper > CreateMultiple < TNominalType > ( IEnumerable < TNominalType > values , IBsonSerializationDomain domain )
149
149
{
150
150
if ( values == null )
151
151
{
@@ -173,7 +173,7 @@ public static IEnumerable<BsonDocumentWrapper> CreateMultiple(Type nominalType,
173
173
/// <param name="domain"></param>
174
174
/// <returns></returns>
175
175
/// <exception cref="ArgumentNullException"></exception>
176
- public static IEnumerable < BsonDocumentWrapper > CreateMultiple ( Type nominalType , IEnumerable values , IBsonSerializationDomain domain )
176
+ internal static IEnumerable < BsonDocumentWrapper > CreateMultiple ( Type nominalType , IEnumerable values , IBsonSerializationDomain domain )
177
177
{
178
178
if ( nominalType == null )
179
179
{
0 commit comments