DataTypeValidateAttribute now uses bastard injection.

Notes on the UmbracoModule.
Need to abstract resolving via Current.Container to remove LightInject refs.
This commit is contained in:
Lars-Erik Aabech
2018-06-14 18:46:25 +02:00
parent 4c201bcaaa
commit a8c5cd425d
3 changed files with 24 additions and 9 deletions

View File

@@ -93,7 +93,8 @@ namespace Umbraco.Web
internal IVariationContextAccessor VariationContextAccessor { get; set; }
#endregion
// fixme - delete, just one usage in a test.
public UmbracoModule()
: this(
Current.Container.GetInstance<IUmbracoSettingsSection>(),