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

Fix #1287, Quality of live improvements for Scripting namespace #1288

Merged

Conversation

paulober
Copy link
Contributor

Quality of live improvements for Scripting namespace

Implemented:

  • Use the Stopwatch.StartNew() method to create and start a new Stopwatch instance.

  • Use the C# readonly modifier for fields that are only set in the constructor and should not be modified afterward, such as _archiveManager and _redParserService.~

  • Use expression body for simple getter like methods for a consistent code style

Fixed:

Copy link
Contributor

@seberoth seberoth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@seberoth seberoth merged commit 27a1e6a into WolvenKit:main Apr 22, 2023
2 checks passed
@paulober paulober deleted the fix-1287-quality-of-live-scripting branch April 22, 2023 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Quality of live and small performance improvements to WolvenKit.Modkit.Scripting
2 participants