Skip to content

Conversation

FreeAndNil
Copy link
Contributor

  • added release notes
  • added license headers
  • adjusted Log4NetIntegrationTests to .editorconfig

- added release notes
- added license headers
- adjusted Log4NetIntegrationTests to .editorconfig
@FreeAndNil FreeAndNil added this to the 3.2.0 milestone Jul 2, 2025
@FreeAndNil
Copy link
Contributor Author

@gdziadkiewicz I've cleaned up a little bit. Can you take a look?

@gdziadkiewicz
Copy link
Contributor

Yes

Copy link
Contributor

@gdziadkiewicz gdziadkiewicz left a comment

Choose a reason for hiding this comment

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

LGTM!

baseFile = baseFile.ToLowerInvariant();
string dir = string.IsNullOrEmpty(baseFile) ? "" : Path.GetDirectoryName(baseFile);
var baseFileWithoutExtension = Path.Combine(dir ?? "", Path.GetFileNameWithoutExtension(baseFile));
string baseFileWithoutExtension = Path.Combine(dir ?? "", Path.GetFileNameWithoutExtension(baseFile));
Copy link
Contributor

Choose a reason for hiding this comment

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

is there a new style choice to prefer types over var? just curious - I see that you prefer, eg,

SomeType thing = new();

over

var thing = new SomeType();

elsewhere - so perhaps this is just a habit 😄 not a big deal - just curious

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, I prefer SomeType thing = new(); because you can use the same Pattern for Lists: List<string> list = [];
var list = new List<string>(); is "much" longer ;-)
Even the version for simple objects is now shorter without var. I only use var for complex Linq-Queries or when I don't know what to expect 😄

@FreeAndNil FreeAndNil merged commit 15fa7d5 into master Jul 3, 2025
3 checks passed
@FreeAndNil FreeAndNil deleted the Feature/262-mocked-DateTimeStrategy-to-speedup-test branch July 3, 2025 08:38
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.

3 participants