Example #1
0
 public FragmentController(IFragmentResolver fragmentResolver,
                           IFragmentRenderer fragmentRenderer,
                           IFragmentOptionsProvider fragmentOptionsProvider,
                           IViewRenderer viewRenderer,
                           IFragmentRegistry fragmentRegistry)
 {
     _fragmentResolver        = fragmentResolver;
     _fragmentRenderer        = fragmentRenderer;
     _fragmentOptionsProvider = fragmentOptionsProvider;
     _viewRenderer            = viewRenderer;
     _fragmentRegistry        = fragmentRegistry;
 }
 public FragmentTagHelper(IFragmentResolver fragmentResolver,
                          IViewRenderer viewRenderer,
                          IFragmentContextProvider fragmentContextProvider,
                          IFragmentOptionsProvider fragmentOptionsProvider,
                          IFragmentLogger fragmentLogger)
 {
     _fragmentResolver        = fragmentResolver;
     _viewRenderer            = viewRenderer;
     _fragmentContextProvider = fragmentContextProvider;
     _fragmentOptionsProvider = fragmentOptionsProvider;
     _fragmentLogger          = fragmentLogger;
 }