Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MessageTemplateParameter(s) ctors to internal #2581

Merged
merged 1 commit into from Feb 20, 2018
Merged

Conversation

304NotModified
Copy link
Member

fixes #2552

  • small c#7 change

@304NotModified
Copy link
Member Author

@snakefoot decline this and wontfix for #2552?

@snakefoot
Copy link
Contributor

snakefoot commented Feb 19, 2018 via email

@304NotModified
Copy link
Member Author

So for both classes we need public ctors?

@codecov
Copy link

codecov bot commented Feb 19, 2018

Codecov Report

Merging #2581 into master will decrease coverage by <1%.
The diff coverage is 50%.

@@           Coverage Diff           @@
##           master   #2581    +/-   ##
=======================================
- Coverage      81%     81%   -<1%     
=======================================
  Files         325     325            
  Lines       23918   23923     +5     
  Branches     3022    3023     +1     
=======================================
- Hits        19403   19393    -10     
+ Misses       3702    3698     -4     
- Partials      813     832    +19

@304NotModified
Copy link
Member Author

I was thinking to allow use of MessageTemplateParameters constructor to access the internal parser.

No really a fan of this magic.

updated it: MessageTemplateParameter full ctor is still public

MessageTemplateParameters is internal ctor. IMO the ctor of MessageTemplateParameters do maybe to much parsing and so it's a good candidate to keep it internal.

Let me know if you agree

We can always open the ctor if we need it in the future.

@304NotModified
Copy link
Member Author

PS I will try to create rc6 tonight/tomorrow. I hope that the latest RC before the RTM

@snakefoot if your still on holiday, have a good holiday :)

@snakefoot
Copy link
Contributor

snakefoot commented Feb 20, 2018 via email

@snakefoot
Copy link
Contributor

snakefoot commented Feb 20, 2018 via email

@304NotModified 304NotModified merged commit a4805ce into master Feb 20, 2018
@304NotModified 304NotModified deleted the internal-ctor branch February 20, 2018 08:24
@snakefoot snakefoot modified the milestones: 4.5 rc6, 4.5 Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement on existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants