-
Type: Improvement
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: 1.0
-
Component/s: Feature Request
-
None
In Powershell it is very difficult to call generic methods. In metadata driven programming the type argument to the generic method is not known at compile time, which makes generic methods inappropriate even in C# sometimes.
Add non-generic versions of the following methods:
BsonExtensionMethods
ToBson
ToBsonDocument
ToJson
BsonDocumentWrapper
Create
CreateMultiple
UpdateBuilder
AddToSetEachWrapped
AddToSetWrapped
PullAllWrapped
PullWrapped
PushAllWrapped
PushWrapped
Replace
SetWrapped
FindAndModifyResult
GetModifiedDocumentAs
MapReduceResult
GetInlineResultsAs
GetResultsAs
MongoCollection
FindAllAs
FindAs
FindOneAs
FindOneByIdAs
GeoNearAs
Save
MongoCursor
Clone
MongoDatabase
CreateCollectionSettings
FetchDBRefAs
GetCollection
RunCommandAs
MongoServer
FetchDBRefAs
RunAdminCommandAs