-
Type:
New Feature
-
Resolution: Won't Fix
-
Priority:
Trivial - P5
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Add a new constructor for MongoClient that will take a string formatted for string.Format() and params string[] to format into the connection string.
Example:
new MongoClient("mongodb://{0}:27017?replicaSet={1}", Environment.MachineName, "MyReplSet");
would replace
new MongoClient(string.Format("mongodb://{0}:27017?replicaSet={1}", Environment.MachineName, "MyReplSet"));