@@ -86,7 +86,7 @@ public object Wrapped
86
86
get { return _wrapped ; }
87
87
}
88
88
89
- // DOMAIN-API All the various Create methods are used only in testing, the version without the domain should be removed.
89
+ // DOMAIN-API All the various Create methods are used only in testing, the versions without the domain should be removed.
90
90
// public static methods
91
91
/// <summary>
92
92
/// Creates a new instance of the BsonDocumentWrapper class.
@@ -111,7 +111,7 @@ internal static BsonDocumentWrapper Create<TNominalType>(TNominalType value, IBs
111
111
public static BsonDocumentWrapper Create ( Type nominalType , object value ) =>
112
112
Create ( nominalType , value , BsonSerializer . DefaultSerializationDomain ) ;
113
113
114
- internal static BsonDocumentWrapper Create ( Type nominalType , object value , IBsonSerializationDomain domain )
114
+ private static BsonDocumentWrapper Create ( Type nominalType , object value , IBsonSerializationDomain domain )
115
115
{
116
116
var serializer = domain . LookupSerializer ( nominalType ) ;
117
117
return new BsonDocumentWrapper ( value , serializer , domain ) ;
@@ -126,15 +126,7 @@ internal static BsonDocumentWrapper Create(Type nominalType, object value, IBson
126
126
public static IEnumerable < BsonDocumentWrapper > CreateMultiple < TNominalType > ( IEnumerable < TNominalType > values ) =>
127
127
CreateMultiple ( values , BsonSerializer . DefaultSerializationDomain ) ;
128
128
129
- /// <summary>
130
- /// //TODO
131
- /// </summary>
132
- /// <param name="values"></param>
133
- /// <param name="domain"></param>
134
- /// <typeparam name="TNominalType"></typeparam>
135
- /// <returns></returns>
136
- /// <exception cref="ArgumentNullException"></exception>
137
- internal static IEnumerable < BsonDocumentWrapper > CreateMultiple < TNominalType > ( IEnumerable < TNominalType > values , IBsonSerializationDomain domain )
129
+ private static IEnumerable < BsonDocumentWrapper > CreateMultiple < TNominalType > ( IEnumerable < TNominalType > values , IBsonSerializationDomain domain )
138
130
{
139
131
if ( values == null )
140
132
{
@@ -154,15 +146,7 @@ internal static IEnumerable<BsonDocumentWrapper> CreateMultiple<TNominalType>(IE
154
146
public static IEnumerable < BsonDocumentWrapper > CreateMultiple ( Type nominalType , IEnumerable values ) =>
155
147
CreateMultiple ( nominalType , values , BsonSerializer . DefaultSerializationDomain ) ;
156
148
157
- /// <summary>
158
- /// //TODO
159
- /// </summary>
160
- /// <param name="nominalType"></param>
161
- /// <param name="values"></param>
162
- /// <param name="domain"></param>
163
- /// <returns></returns>
164
- /// <exception cref="ArgumentNullException"></exception>
165
- internal static IEnumerable < BsonDocumentWrapper > CreateMultiple ( Type nominalType , IEnumerable values , IBsonSerializationDomain domain )
149
+ private static IEnumerable < BsonDocumentWrapper > CreateMultiple ( Type nominalType , IEnumerable values , IBsonSerializationDomain domain )
166
150
{
167
151
if ( nominalType == null )
168
152
{
0 commit comments