You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
create to many / to one methods have generic parameters TTargetValue and TConcreteTargetValue.
Reason: TConcreteTargetValue is used to create a concrete object - a parameterless constructor is assumed.
But how a concrete target value is instantiated should be the responsibility of the CreateConvertHelper class.
The type parameters of convert registration methods should be reduced to TTargetValue with class constraint.
When upgrading to the version including this fix you have to:
include BBT.StructueTools.Extensions into your projects
register the derived IConvertHelperFactory and ICreateConvertHelper interfaces and generic implementations in your IoC container
change IConvertHelperFactory respectively ICreateConvertHelper dependencies to the more specific interfaces
if necessary reduce the generic type parameters of ICreateConverHelper and factory (TConcreteTarget is partially removed)
The text was updated successfully, but these errors were encountered:
create to many / to one methods have generic parameters TTargetValue and TConcreteTargetValue.
Reason: TConcreteTargetValue is used to create a concrete object - a parameterless constructor is assumed.
But how a concrete target value is instantiated should be the responsibility of the CreateConvertHelper class.
The type parameters of convert registration methods should be reduced to TTargetValue with class constraint.
When upgrading to the version including this fix you have to:
The text was updated successfully, but these errors were encountered: