@@ -86,7 +86,7 @@ public object Wrapped
8686 get { return _wrapped ; }
8787 }
8888
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.
9090 // public static methods
9191 /// <summary>
9292 /// Creates a new instance of the BsonDocumentWrapper class.
@@ -111,7 +111,7 @@ internal static BsonDocumentWrapper Create<TNominalType>(TNominalType value, IBs
111111 public static BsonDocumentWrapper Create ( Type nominalType , object value ) =>
112112 Create ( nominalType , value , BsonSerializer . DefaultSerializationDomain ) ;
113113
114- internal static BsonDocumentWrapper Create ( Type nominalType , object value , IBsonSerializationDomain domain )
114+ private static BsonDocumentWrapper Create ( Type nominalType , object value , IBsonSerializationDomain domain )
115115 {
116116 var serializer = domain . LookupSerializer ( nominalType ) ;
117117 return new BsonDocumentWrapper ( value , serializer , domain ) ;
@@ -126,15 +126,7 @@ internal static BsonDocumentWrapper Create(Type nominalType, object value, IBson
126126 public static IEnumerable < BsonDocumentWrapper > CreateMultiple < TNominalType > ( IEnumerable < TNominalType > values ) =>
127127 CreateMultiple ( values , BsonSerializer . DefaultSerializationDomain ) ;
128128
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 )
138130 {
139131 if ( values == null )
140132 {
@@ -154,15 +146,7 @@ internal static IEnumerable<BsonDocumentWrapper> CreateMultiple<TNominalType>(IE
154146 public static IEnumerable < BsonDocumentWrapper > CreateMultiple ( Type nominalType , IEnumerable values ) =>
155147 CreateMultiple ( nominalType , values , BsonSerializer . DefaultSerializationDomain ) ;
156148
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 )
166150 {
167151 if ( nominalType == null )
168152 {
0 commit comments