tibel / Caliburn.Light

The magic-free Caliburn.Light, a powerful framework designed for building applications across current XAML platforms.
MIT License
68 stars 7 forks source link

Use module initializers #98

Closed tibel closed 3 years ago

tibel commented 4 years ago

There should be no need to call ViewHelper.Initialize(ViewAdapter.Instance); in user code.

The same can be achieved by using module initializers in WPF and WinUI assembly: https://www.cazzulino.com/module-initializers.html