[CSHARP-642] Deprecate this[string name, BsonValue defaultValue] overload of BsonDocument indexer Created: 08/Dec/12 Updated: 20/Mar/14 Resolved: 10/Dec/12 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | 1.7 |
| Fix Version/s: | 1.8 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Robert Stam | Assignee: | Robert Stam |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Major Change |
| Description |
|
This overload is somewhat inappropriate because normally the arguments to an indexer are indexes, and defaultValue is not an index. Use GetValue(string name, BsonValue defaultValue) instead. This overload will be deprecated in 1.8 and removed in 2.0. |
| Comments |
| Comment by auto [ 10/Dec/12 ] |
|
Author: {u'date': u'2012-12-08T16:11:41Z', u'email': u'robert@10gen.com', u'name': u'rstam'}Message: |