-
Notifications
You must be signed in to change notification settings - Fork 119
feat(Mapping): GetOrAdd uses Lazy #51
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
Conversation
…ontrib into feature/mapping
… feature/mapping
|
|
||
| namespace Masa.Contrib.Data.Mapping.Mapster.Internal; | ||
|
|
||
| internal static class ConcurrentDictionaryExtensions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think you need to copy and paste this lazy method all over the place, it's going to be used a lot.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adjust the GetOrAdd method provided for Memory
doddgu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.