I have created a
LocalizeExtension to use in XAML (
xmlns:i18n="clr-namespace:OrderCentral.Helpers;assembly=OrderCentral") and it uses a constructror that expects an instance of
ILocalize. Everything is registered with the dependency injection service (AutoFac) but it fails to properly locate the
ILocalize when to instantiate
LocalizeExtension. Resolving the dependency directly from the container works so it has been registered.
How is the correct way of doing this?