Skip to content

Conversation

SimonCropp
Copy link
Contributor

…r KeyValuePairSettings

if (callableDirectives.Any())
{
var configurationAssemblies = LoadConfigurationAssemblies(directives).ToList();
if (!callableDirectives.Any()) return;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

i inverted the if to reduce some nesting


if (string.IsNullOrEmpty(value))
{
return Array.CreateInstance(elementType, 0);
}

var items = value?.Split(',');
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this check seems redundant given the above if

…ConfigurationMethodFinder-KeyValuePairSettings
@nblumhardt nblumhardt merged commit 7ec90ba into serilog:dev Aug 2, 2022
@SimonCropp SimonCropp deleted the nullables-in-SettingValueConversions-CallableConfigurationMethodFinder-KeyValuePairSettings branch August 2, 2022 04:14
Twinki14 pushed a commit to Twinki14/CitizenFX.Extensions.Client.Serilog that referenced this pull request Dec 30, 2023
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.

2 participants