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
A lovey thing about C1 CMS is its extensibility and how it relies on static typing. This means though that we get a lot of types that are instantiated via reflection and requires a public constructor without arguments.
Not so nice in the world of Dependency Injection.
This is easily fixed though by replacing Activator.CreateInstance with ActivatorUtilities.CreateInstance
A lovey thing about C1 CMS is its extensibility and how it relies on static typing. This means though that we get a lot of types that are instantiated via reflection and requires a public constructor without arguments.
Not so nice in the world of Dependency Injection.
This is easily fixed though by replacing
Activator.CreateInstance
withActivatorUtilities.CreateInstance
https://github.com/Orckestra/C1-CMS-Foundation/search?q=%22Activator.CreateInstance%22&type=code
The text was updated successfully, but these errors were encountered: