public TestLogoutMemberSurfaceController(IUmbracoContextAccessor umbracoContextAccessor,
                                          IUmbracoDatabaseFactory databaseFactory,
                                          ServiceContext services,
                                          AppCaches appCaches,
                                          ILogger logger,
                                          IProfilingLogger profilingLogger,
                                          UmbracoHelper umbracoHelper,
                                          HttpContextBase httpContext,
                                          ILogoutMemberWrapper logoutMemberWrapper)
     : base(umbracoContextAccessor, databaseFactory, services, appCaches, logger, profilingLogger, umbracoHelper, logoutMemberWrapper)
 {
     ControllerContext = new ControllerContext(httpContext, new RouteData(), this);
 }
예제 #2
0
 public LogoutMemberSurfaceController(IUmbracoContextAccessor umbracoContextAccessor, IUmbracoDatabaseFactory umbracoDatabaseFactory, ServiceContext serviceContext,
                                      AppCaches appCaches, ILogger logger, IProfilingLogger profilingLogger, UmbracoHelper umbracoHelper, ILogoutMemberWrapper logoutMemberWrapper) :
     base(umbracoContextAccessor, umbracoDatabaseFactory, serviceContext, appCaches, logger, profilingLogger, umbracoHelper)
 {
     _logoutMemberWrapper = logoutMemberWrapper ?? throw new System.ArgumentNullException(nameof(logoutMemberWrapper));
 }