[CSHARP-1126] Reimplement BsonValue IConvertible methods using virtual methods Created: 20/Nov/14 Updated: 20/Jan/16 Resolved: 10/Aug/15 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | BSON |
| Affects Version/s: | None |
| Fix Version/s: | 2.1 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Robert Stam | Assignee: | Robert Stam |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Currently BsonValue IConvertible methods are entirely implemented in BsonValue and switch on the BsonType. It might be better to implement them as virtual methods and let the subclasses override them as needed to provide subclass specific behavior. |
| Comments |
| Comment by Githook User [ 10/Aug/15 ] |
|
Author: {u'username': u'rstam', u'name': u'rstam', u'email': u'robert@robertstam.org'}Message: |