Skip to content

Conversation

tsimbalar
Copy link
Member

When a parameter is an abstract class, now accept the type name of a concrete subclass that has a default constructor ( the same way interfaces are supported)

What issue does this PR address?
Resolves #1056
This is the equivalent of serilog/serilog-settings-configuration#74

Does this PR introduce a breaking change?
Nope

Please check if the PR fulfills these requirements

  • The commit follows our guidelines
  • Unit Tests for the changes have been added (for bug fixes / features)

Other information:

When a parameter is an abstract class, now accept the type name of a concrete subclass that has a default constructor ( the same way interfaces are supported)
@skomis-mm
Copy link
Contributor

👍

@nblumhardt nblumhardt merged commit 6116df0 into serilog:dev Nov 8, 2017
@nblumhardt
Copy link
Member

👏

@tsimbalar tsimbalar deleted the settings-abstract-param branch November 9, 2017 06:46
@tsimbalar tsimbalar mentioned this pull request Nov 24, 2017
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.

KeyValuePairSettings : support a fully qualified type name for arguments whose type is abstract
3 participants