/// <summary> /// Initializes a new instance of the <see cref="EmbeddedViewFileProvider"/> class. /// </summary> /// <param name="viewFixer">Corrects embeddable views so that the can be built properly</param> public EmbeddedViewFileProvider(IEmbeddedViewFixer viewFixer) { if (viewFixer == null) throw new ArgumentNullException("viewFixer"); _viewFixer = viewFixer; }
/// <summary> /// Initializes a new instance of the <see cref="EmbeddedViewFileProvider"/> class. /// </summary> public EmbeddedViewFileProvider() { _viewFixer = DependencyResolver.Current.GetService<IEmbeddedViewFixer>(); }