[CSHARP-4089] Make TranslationContextData internal Created: 09/Mar/22  Updated: 28/Oct/23  Resolved: 09/Mar/22

Status: Closed
Project: C# Driver
Component/s: LINQ3
Affects Version/s: None
Fix Version/s: 2.15.0

Type: Bug Priority: Unknown
Reporter: James Kovacs Assignee: James Kovacs
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible

 Description   

TranslationContextData is used internally by SetWindowFields, but had to be made public because it was needed in the public method signature of ExpressionAggregationExpressionDefinition. This led to API docs warnings because TranslationContextData resides in an internal LINQ3 namespace. Rather than expose this internal namespace, overload the ExpressionAggregationExpressionDefinition with an internal ctor that takes TranslationContextData and make TranslationContextData internal.



 Comments   
Comment by Githook User [ 09/Mar/22 ]

Author:

{'name': 'James Kovacs', 'email': 'jkovacs@post.harvard.edu', 'username': 'JamesKovacs'}

Message: CSHARP-4089: Move TranslationContextData to be internal. (#748)
Branch: master
https://github.com/mongodb/mongo-csharp-driver/commit/cd60f5826bfd70ab286a63088bf4153f7efd75e4

Generated at Wed Feb 07 21:47:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.