コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EngineController" /> class.
 /// </summary>
 /// <param name="securityManager">The security manager that the <see cref="EngineController" /> operates against.</param>
 /// <param name="projectManager">The project manager that the <see cref="EngineController" /> operates against.</param>
 /// <param name="portalManager">The portal manager that the <see cref="EngineController" /> operates against.</param>
 /// <param name="portalCompiler">The portal compiler that the <see cref="EngineController" /> operates against.</param>
 /// <param name="logManager">The log manager that the <see cref="EngineController" /> operates against.</param>
 public EngineController(
     SecurityManager securityManager,
     ProjectManager projectManager,
     PortalManager portalManager,
     PortalCompiler portalCompiler,
     LogManager logManager)
 {
     _securityManager = securityManager;
     _projectManager  = projectManager;
     _portalManager   = portalManager;
     _portalCompiler  = portalCompiler;
     _logManager      = logManager;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PagesController" /> class.
 /// </summary>
 /// <param name="projectManager">The project manager that the <see cref="PagesController" /> operates against.</param>
 /// <param name="portalManager">The portal manager that the <see cref="PagesController" /> operates against.</param>
 /// <param name="portalCompiler">The portal compiler that the <see cref="PagesController" /> operates against.</param>
 public PagesController(ProjectManager projectManager, PortalManager portalManager, PortalCompiler portalCompiler)
 {
     _projectManager = projectManager;
     _portalManager  = portalManager;
     _portalCompiler = portalCompiler;
 }