public ServerUserListProjectPlugin(IFarmService farmService, 
            IVelocityViewGenerator viewGenerator, 
            ISessionRetriever sessionRetriever,
            IUrlBuilder urlBuilder)
		{
            plugin = new ServerUserListServerPlugin(farmService, viewGenerator, sessionRetriever, urlBuilder);
		}
 /// <summary>
 /// Initialise a new <see cref="HtmlReportAction"/>.
 /// </summary>
 /// <param name="fingerprintFactory"></param>
 /// <param name="farmService"></param>
 /// <param name="viewGenerator"></param>
 public HtmlReportAction(IFingerprintFactory fingerprintFactory, IFarmService farmService,
                         IVelocityViewGenerator viewGenerator)
 {
     this.fingerprintFactory = fingerprintFactory;
     this.farmService        = farmService;
     this.viewGenerator      = viewGenerator;
 }
		public LogoutSecurityAction(IFarmService farmService, IVelocityViewGenerator viewGenerator,
			ISessionStorer storer)
		{
			this.farmService = farmService;
			this.viewGenerator = viewGenerator;
			this.storer = storer;
		}
Exemplo n.º 4
0
 public UserNameSecurityPlugin(IFarmService farmService, IVelocityViewGenerator viewGenerator,
                               ISessionStorer storer)
 {
     this.farmService   = farmService;
     this.viewGenerator = viewGenerator;
     this.storer        = storer;
 }
 public UserNameSecurityPlugin(IFarmService farmService, IVelocityViewGenerator viewGenerator,
     ISessionStorer storer)
 {
     this.farmService = farmService;
     this.viewGenerator = viewGenerator;
     this.storer = storer;
 }
 public LogoutSecurityAction(IFarmService farmService, IVelocityViewGenerator viewGenerator,
                             ISessionStorer storer)
 {
     this.farmService   = farmService;
     this.viewGenerator = viewGenerator;
     this.storer        = storer;
 }
Exemplo n.º 7
0
 /// <summary>
 /// Initialise a new <see cref="HtmlReportAction"/>.
 /// </summary>
 /// <param name="fingerprintFactory"></param>
 /// <param name="farmService"></param>
 /// <param name="viewGenerator"></param>
 public HtmlReportAction(IFingerprintFactory fingerprintFactory, IFarmService farmService,
     IVelocityViewGenerator viewGenerator)
 {
     this.fingerprintFactory = fingerprintFactory;
     this.farmService = farmService;
     this.viewGenerator = viewGenerator;
 }
 public ServerAuditHistoryProjectPlugin(IFarmService farmService,
                                        IVelocityViewGenerator viewGenerator,
                                        ISessionRetriever sessionRetriever,
                                        IUrlBuilder urlBuilder)
 {
     plugin = new ServerAuditHistoryServerPlugin(farmService, viewGenerator, sessionRetriever, urlBuilder);
 }
 public UserNameSecurityAction(IFarmService farmService, IVelocityViewGenerator viewGenerator,
     ISessionStorer storer, bool hidePassword)
 {
     this.farmService = farmService;
     this.viewGenerator = viewGenerator;
     this.storer = storer;
     this.hidePassword = hidePassword;
 }
 public ServerSecurityConfigurationServerPlugin(IFarmService farmService,
                                                IVelocityViewGenerator viewGenerator,
                                                ISessionRetriever sessionRetriever)
 {
     this.farmService      = farmService;
     this.viewGenerator    = viewGenerator;
     this.sessionRetriever = sessionRetriever;
 }
Exemplo n.º 11
0
 public VelocityProjectGridAction(IFarmService farmService, IUrlBuilder urlBuilder, ICruiseUrlBuilder cruiseUrlBuilder, IVelocityViewGenerator viewGenerator, IProjectGrid projectGrid)
 {
     this.farmService = farmService;
     this.urlBuilder = urlBuilder;
     this.cruiseUrlBuilder = cruiseUrlBuilder;
     this.viewGenerator = viewGenerator;
     this.projectGrid = projectGrid;
 }
 public UserNameSecurityAction(IFarmService farmService, IVelocityViewGenerator viewGenerator,
                               ISessionStorer storer, bool hidePassword)
 {
     this.farmService   = farmService;
     this.viewGenerator = viewGenerator;
     this.storer        = storer;
     this.hidePassword  = hidePassword;
 }
 public ServerSecurityConfigurationServerPlugin(IFarmService farmService, 
     IVelocityViewGenerator viewGenerator, 
     ISessionRetriever sessionRetriever)
 {
     this.farmService = farmService;
     this.viewGenerator = viewGenerator;
     this.sessionRetriever = sessionRetriever;
 }
		public VelocityProjectGridAction(IFarmService farmService, IUrlBuilder urlBuilder, ICruiseUrlBuilder cruiseUrlBuilder, IVelocityViewGenerator viewGenerator, IProjectGrid projectGrid)
		{
			this.farmService = farmService;
			this.urlBuilder = urlBuilder;
			this.cruiseUrlBuilder = cruiseUrlBuilder;
			this.viewGenerator = viewGenerator;
			this.projectGrid = projectGrid;
		}
 public VelocityProjectGridAction(IFarmService farmService, IVelocityViewGenerator viewGenerator,
                                  IProjectGrid projectGrid,
                                  ISessionRetriever sessionRetriever)
 {
     this.farmService      = farmService;
     this.viewGenerator    = viewGenerator;
     this.projectGrid      = projectGrid;
     this.sessionRetriever = sessionRetriever;
 }
Exemplo n.º 16
0
 public RecentBuildLister(IFarmService farmService, IVelocityTransformer velocityTransformer,
                          IVelocityViewGenerator viewGenerator, ILinkFactory linkFactory, ILinkListFactory linkListFactory)
 {
     this.farmService           = farmService;
     this.velocityTransformer   = velocityTransformer;
     this.velocityViewGenerator = viewGenerator;
     this.linkFactory           = linkFactory;
     this.linkListFactory       = linkListFactory;
 }
 public VelocityProjectGridAction(IFarmService farmService, IVelocityViewGenerator viewGenerator, 
     IProjectGrid projectGrid,
     ISessionRetriever sessionRetriever)
 {
     this.farmService = farmService;
     this.viewGenerator = viewGenerator;
     this.projectGrid = projectGrid;
     this.sessionRetriever = sessionRetriever;
 }
Exemplo n.º 18
0
 public ProjectReportProjectPlugin(IFarmService farmService, IVelocityViewGenerator viewGenerator, ILinkFactory linkFactory,
                                   IRemoteServicesConfiguration configuration, ICruiseUrlBuilder urlBuilder)
 {
     this.farmService   = farmService;
     this.viewGenerator = viewGenerator;
     this.linkFactory   = linkFactory;
     this.configuration = configuration;
     this.urlBuilder    = urlBuilder;
 }
Exemplo n.º 19
0
 public SideBarViewBuilder(ICruiseRequest request, IBuildNameRetriever buildNameRetriever, IRecentBuildsViewBuilder recentBuildsViewBuilder, IPluginLinkCalculator pluginLinkCalculator, IVelocityViewGenerator velocityViewGenerator, ILinkFactory linkFactory)
 {
     this.request = request;
     this.buildNameRetriever = buildNameRetriever;
     this.recentBuildsViewBuilder = recentBuildsViewBuilder;
     this.pluginLinkCalculator = pluginLinkCalculator;
     this.velocityViewGenerator = velocityViewGenerator;
     this.linkFactory = linkFactory;
 }
Exemplo n.º 20
0
 public RecentBuildLister(IFarmService farmService, IVelocityTransformer velocityTransformer, 
     IVelocityViewGenerator viewGenerator, ILinkFactory linkFactory, ILinkListFactory linkListFactory)
 {
     this.farmService = farmService;
     this.velocityTransformer = velocityTransformer;
     this.velocityViewGenerator = viewGenerator;
     this.linkFactory = linkFactory;
     this.linkListFactory = linkListFactory;
 }
 public ProjectReportProjectPlugin(IFarmService farmService, IVelocityViewGenerator viewGenerator, ILinkFactory linkFactory,
     IRemoteServicesConfiguration configuration, ICruiseUrlBuilder urlBuilder)
 {
     this.farmService = farmService;
     this.viewGenerator = viewGenerator;
     this.linkFactory = linkFactory;
     this.configuration = configuration;
     this.urlBuilder = urlBuilder;
 }
Exemplo n.º 22
0
 public SideBarViewBuilder(ICruiseRequest request, IBuildNameRetriever buildNameRetriever, IRecentBuildsViewBuilder recentBuildsViewBuilder, IPluginLinkCalculator pluginLinkCalculator, IVelocityViewGenerator velocityViewGenerator, ILinkFactory linkFactory)
 {
     this.request                 = request;
     this.buildNameRetriever      = buildNameRetriever;
     this.recentBuildsViewBuilder = recentBuildsViewBuilder;
     this.pluginLinkCalculator    = pluginLinkCalculator;
     this.velocityViewGenerator   = velocityViewGenerator;
     this.linkFactory             = linkFactory;
 }
Exemplo n.º 23
0
 public LoginViewBuilder(ICruiseRequest request, ILinkFactory linkFactory,
                         IVelocityViewGenerator velocityViewGenerator, IDashboardConfiguration configuration,
                         ISessionRetriever retriever, ISessionStorer storer)
 {
     this.request               = request;
     this.linkFactory           = linkFactory;
     this.velocityViewGenerator = velocityViewGenerator;
     this.configuration         = configuration;
     this.storer = storer;
 }
	    public TopControlsViewBuilder(ICruiseRequest request, ILinkFactory linkFactory, IVelocityViewGenerator velocityViewGenerator,
            IFarmService farmService, IFingerprintFactory fingerprintFactory, ISessionRetriever sessionRetriever)
		{
			this.request = request;
			this.linkFactory = linkFactory;
			this.velocityViewGenerator = velocityViewGenerator;
			this.farmService = farmService;
		    this.fingerprintFactory = fingerprintFactory;
            this.sessionRetriever = sessionRetriever;
		}
 public LoginViewBuilder(ICruiseRequest request, ILinkFactory linkFactory, 
     IVelocityViewGenerator velocityViewGenerator, IDashboardConfiguration configuration,
     ISessionStorer storer)
 {
     this.request = request;
     this.linkFactory = linkFactory;
     this.velocityViewGenerator = velocityViewGenerator;
     this.configuration = configuration;
     this.storer = storer;
 }
Exemplo n.º 26
0
 public TopControlsViewBuilder(ICruiseRequest request, ILinkFactory linkFactory, IVelocityViewGenerator velocityViewGenerator,
                               IFarmService farmService, IFingerprintFactory fingerprintFactory, ISessionRetriever sessionRetriever)
 {
     this.request               = request;
     this.linkFactory           = linkFactory;
     this.velocityViewGenerator = velocityViewGenerator;
     this.farmService           = farmService;
     this.fingerprintFactory    = fingerprintFactory;
     this.sessionRetriever      = sessionRetriever;
 }
Exemplo n.º 27
0
 /// <summary>
 /// Create a new <see cref="AdministerAction"/>.
 /// </summary>
 /// <param name="manager"></param>
 /// <param name="viewGenerator"></param>
 /// <param name="physicalApplicationPathProvider"></param>
 /// <param name="servicesConfiguration"></param>
 public AdministerAction(PackageManager manager,
     IVelocityViewGenerator viewGenerator,
     IRemoteServicesConfiguration servicesConfiguration,
     IPhysicalApplicationPathProvider physicalApplicationPathProvider)
 {
     this.manager = manager;
     this.viewGenerator = viewGenerator;
     this.servicesConfiguration = servicesConfiguration;
     this.physicalApplicationPathProvider = physicalApplicationPathProvider;
 }
	    public HtmlBuildLogAction(IBuildRetriever buildRetriever, IVelocityViewGenerator viewGenerator,
		                          ICruiseUrlBuilder urlBuilder, IFingerprintFactory fingerprintFactory,
            ISessionRetriever retriever)
		{
			this.buildRetriever = buildRetriever;
			this.viewGenerator = viewGenerator;
			this.urlBuilder = urlBuilder;
		    this.fingerprintFactory = fingerprintFactory;
            this.retriever = retriever;
		}
 public ServerAuditHistoryServerPlugin(IFarmService farmService, 
     IVelocityViewGenerator viewGenerator, 
     ISessionRetriever sessionRetriever,
     IUrlBuilder urlBuilder)
 {
     this.farmService = farmService;
     this.viewGenerator = viewGenerator;
     this.sessionRetriever = sessionRetriever;
     this.urlBuilder = urlBuilder;
 }
Exemplo n.º 30
0
 public CategorizedFarmReportFarmPlugin(IFarmService farmService,
                                        IProjectGrid projectGrid,
                                        IVelocityViewGenerator viewGenerator)
 {
     this.farmService     = farmService;
     this.projectGrid     = projectGrid;
     this.viewGenerator   = viewGenerator;
     this.LinkDescription = "Categorized Farm Report";
     this.baseAction      = new ImmutableNamedAction(BaseActionName, this);
 }
Exemplo n.º 31
0
 /// <summary>
 /// Create a new <see cref="AdministerAction"/>.
 /// </summary>
 /// <param name="manager"></param>
 /// <param name="viewGenerator"></param>
 /// <param name="physicalApplicationPathProvider"></param>
 /// <param name="servicesConfiguration"></param>
 public AdministerAction(PackageManager manager,
                         IVelocityViewGenerator viewGenerator,
                         IRemoteServicesConfiguration servicesConfiguration,
                         IPhysicalApplicationPathProvider physicalApplicationPathProvider)
 {
     this.manager                         = manager;
     this.viewGenerator                   = viewGenerator;
     this.servicesConfiguration           = servicesConfiguration;
     this.physicalApplicationPathProvider = physicalApplicationPathProvider;
 }
Exemplo n.º 32
0
 public ServerAuditHistoryServerPlugin(IFarmService farmService,
                                       IVelocityViewGenerator viewGenerator,
                                       ISessionRetriever sessionRetriever,
                                       IUrlBuilder urlBuilder)
 {
     this.farmService      = farmService;
     this.viewGenerator    = viewGenerator;
     this.sessionRetriever = sessionRetriever;
     this.urlBuilder       = urlBuilder;
 }
 public CategorizedFarmReportFarmPlugin(IFarmService farmService,
                                        IProjectGrid projectGrid,
                                        IVelocityViewGenerator viewGenerator)
 {
     this.farmService = farmService;
     this.projectGrid = projectGrid;
     this.viewGenerator = viewGenerator;
     this.LinkDescription = "Categorized Farm Report";
     this.baseAction = new ImmutableNamedAction(BaseActionName, this);
 }
Exemplo n.º 34
0
 public HtmlBuildLogAction(IBuildRetriever buildRetriever, IVelocityViewGenerator viewGenerator,
                           ICruiseUrlBuilder urlBuilder, IFingerprintFactory fingerprintFactory,
                           ISessionRetriever retriever)
 {
     this.buildRetriever     = buildRetriever;
     this.viewGenerator      = viewGenerator;
     this.urlBuilder         = urlBuilder;
     this.fingerprintFactory = fingerprintFactory;
     this.retriever          = retriever;
 }
Exemplo n.º 35
0
 public SideBarViewBuilder(ICruiseRequest request, IBuildNameRetriever buildNameRetriever, IRecentBuildsViewBuilder recentBuildsViewBuilder, IPluginLinkCalculator pluginLinkCalculator, IVelocityViewGenerator velocityViewGenerator, ILinkFactory linkFactory, ILinkListFactory linkListFactory, IFarmService farmService, IFingerprintFactory fingerprintFactory)
 {
     this.request = request;
     this.buildNameRetriever = buildNameRetriever;
     this.recentBuildsViewBuilder = recentBuildsViewBuilder;
     this.pluginLinkCalculator = pluginLinkCalculator;
     this.velocityViewGenerator = velocityViewGenerator;
     this.linkListFactory = linkListFactory;
     this.linkFactory = linkFactory;
     this.farmService = farmService;
     this.fingerprintFactory = fingerprintFactory;
 }
 public SideBarViewBuilder(ICruiseRequest request, IBuildNameRetriever buildNameRetriever, IRecentBuildsViewBuilder recentBuildsViewBuilder, IPluginLinkCalculator pluginLinkCalculator, IVelocityViewGenerator velocityViewGenerator, ILinkFactory linkFactory, ILinkListFactory linkListFactory, IFarmService farmService, IFingerprintFactory fingerprintFactory)
 {
     this.request                 = request;
     this.buildNameRetriever      = buildNameRetriever;
     this.recentBuildsViewBuilder = recentBuildsViewBuilder;
     this.pluginLinkCalculator    = pluginLinkCalculator;
     this.velocityViewGenerator   = velocityViewGenerator;
     this.linkListFactory         = linkListFactory;
     this.linkFactory             = linkFactory;
     this.farmService             = farmService;
     this.fingerprintFactory      = fingerprintFactory;
 }
        public LoginViewBuilder(ICruiseRequest request, ILinkFactory linkFactory, 
            IVelocityViewGenerator velocityViewGenerator, IDashboardConfiguration configuration,
            ISessionRetriever retriever)
        {
            this.request = request;
            this.linkFactory = linkFactory;
            this.velocityViewGenerator = velocityViewGenerator;
            this.configuration = configuration;
            this.retriever = retriever;

            this.BuildServerName = request.ServerName;
            this.ProjectName = request.ProjectName;
        }
 public RecentBuildLister(IFarmService farmService, IVelocityTransformer velocityTransformer,
                          IVelocityViewGenerator viewGenerator, ILinkFactory linkFactory, ILinkListFactory linkListFactory, IFingerprintFactory fingerprintFactory,
                          ICruiseUrlBuilder urlBuilder, ISessionRetriever retriever)
 {
     this.farmService           = farmService;
     this.velocityTransformer   = velocityTransformer;
     this.velocityViewGenerator = viewGenerator;
     this.linkFactory           = linkFactory;
     this.linkListFactory       = linkListFactory;
     this.urlBuilder            = urlBuilder;
     this.fingerprintFactory    = fingerprintFactory;
     this.retriever             = retriever;
 }
Exemplo n.º 39
0
        public LoginViewBuilder(ICruiseRequest request, ILinkFactory linkFactory,
                                IVelocityViewGenerator velocityViewGenerator, IDashboardConfiguration configuration,
                                ISessionRetriever retriever)
        {
            this.request               = request;
            this.linkFactory           = linkFactory;
            this.velocityViewGenerator = velocityViewGenerator;
            this.configuration         = configuration;
            this.retriever             = retriever;

            this.BuildServerName = request.ServerName;
            this.ProjectName     = request.ProjectName;
        }
Exemplo n.º 40
0
        public RecentBuildLister(IFarmService farmService, IVelocityTransformer velocityTransformer, 
			IVelocityViewGenerator viewGenerator, ILinkFactory linkFactory, ILinkListFactory linkListFactory, IFingerprintFactory fingerprintFactory,
            ICruiseUrlBuilder urlBuilder, ISessionRetriever retriever)
        {
            this.farmService = farmService;
            this.velocityTransformer = velocityTransformer;
            this.velocityViewGenerator = viewGenerator;
            this.linkFactory = linkFactory;
            this.linkListFactory = linkListFactory;
            this.urlBuilder = urlBuilder;
            this.fingerprintFactory = fingerprintFactory;
            this.retriever = retriever;
        }
 public SiteTemplateActionDecorator(IAction decoratedAction, IVelocityViewGenerator velocityViewGenerator,
                                    ObjectSource objectSource, IVersionProvider versionProvider,
                                    IFingerprintFactory fingerprintFactory, IUrlBuilder urlBuilder,
                                     IPluginConfiguration configuration, ICruiseRequest cruiseRequest)
 {
     this.decoratedAction = decoratedAction;
     this.velocityViewGenerator = velocityViewGenerator;
     this.objectSource = objectSource;
     this.versionProvider = versionProvider;
     this.fingerprintFactory = fingerprintFactory;
     this.urlBuilder = urlBuilder;
     this.configuration = configuration;
     this.cruiseRequest = cruiseRequest;
 }
Exemplo n.º 42
0
 public SiteTemplateActionDecorator(IAction decoratedAction, IVelocityViewGenerator velocityViewGenerator,
                                    ObjectSource objectSource, IVersionProvider versionProvider,
                                    IFingerprintFactory fingerprintFactory, IUrlBuilder urlBuilder,
                                    IPluginConfiguration configuration, ICruiseRequest cruiseRequest)
 {
     this.decoratedAction       = decoratedAction;
     this.velocityViewGenerator = velocityViewGenerator;
     this.objectSource          = objectSource;
     this.versionProvider       = versionProvider;
     this.fingerprintFactory    = fingerprintFactory;
     this.urlBuilder            = urlBuilder;
     this.configuration         = configuration;
     this.cruiseRequest         = cruiseRequest;
 }
 public ViewConfigurationProjectPlugin(ICruiseManagerWrapper cruiseManager, IVelocityViewGenerator viewGenerator)
 {
     this.cruiseManager = cruiseManager;
     this.viewGenerator = viewGenerator;
 }
 public SiteTemplateActionDecorator(IAction decoratedAction, IVelocityViewGenerator velocityViewGenerator, ObjectGiver objectGiver)
 {
     this.decoratedAction = decoratedAction;
     this.velocityViewGenerator = velocityViewGenerator;
     this.objectGiver = objectGiver;
 }
Exemplo n.º 45
0
 public ServerLogServerPlugin(IFarmService farmService, IVelocityViewGenerator viewGenerator)
 {
     this.farmService   = farmService;
     this.viewGenerator = viewGenerator;
 }
 public ExceptionCatchingActionProxy(IAction proxiedAction, IVelocityViewGenerator velocityViewGenerator)
 {
     this.proxiedAction = proxiedAction;
     this.velocityViewGenerator = velocityViewGenerator;
 }
 public ServerInformationServerPlugin(IFarmService farmService, IVelocityViewGenerator viewGenerator)
 {
     this.farmService = farmService;
     this.viewGenerator = viewGenerator;
 }
        private void GenerateTimelineMocks(string appPath, string expected, out IFarmService farmService, out IVelocityViewGenerator viewGenerator, out ICruiseUrlBuilder urlBuilder, out ICruiseRequest cruiseRequest)
        {
            var url         = "/somewhere.aspx";
            var projectName = "Test Project";

            farmService   = this.mocks.Create <IFarmService>(MockBehavior.Strict).Object;
            viewGenerator = this.mocks.Create <IVelocityViewGenerator>(MockBehavior.Strict).Object;
            urlBuilder    = this.mocks.Create <ICruiseUrlBuilder>(MockBehavior.Strict).Object;
            cruiseRequest = this.mocks.Create <ICruiseRequest>(MockBehavior.Strict).Object;
            var request     = this.mocks.Create <IRequest>(MockBehavior.Strict).Object;
            var projectSpec = this.mocks.Create <IProjectSpecifier>(MockBehavior.Strict).Object;

            Mock.Get(cruiseRequest).SetupGet(_cruiseRequest => _cruiseRequest.Request).Returns(request);
            Mock.Get(cruiseRequest).SetupGet(_cruiseRequest => _cruiseRequest.ProjectName).Returns(projectName);
            Mock.Get(cruiseRequest).SetupGet(_cruiseRequest => _cruiseRequest.ProjectSpecifier).Returns(projectSpec);
            Mock.Get(request).SetupGet(_request => _request.FileNameWithoutExtension).Returns(ProjectTimelineAction.TimelineActionName);
            Mock.Get(request).SetupGet(_request => _request.ApplicationPath).Returns(appPath);
            Mock.Get(urlBuilder).Setup(_urlBuilder => _urlBuilder.BuildProjectUrl(ProjectTimelineAction.DataActionName, projectSpec)).Returns(url);
            Mock.Get(viewGenerator).Setup(_viewGenerator => _viewGenerator.GenerateView(It.IsAny <string>(), It.IsAny <Hashtable>()))
            .Callback <string, Hashtable>((n, ht) =>
            {
                Assert.AreEqual("ProjectTimeline.vm", n);
                Assert.IsNotNull(ht);
                Assert.IsTrue(ht.ContainsKey("applicationPath"));
                Assert.IsTrue(ht.ContainsKey("projectName"));
                Assert.IsTrue(ht.ContainsKey("dataUrl"));
                Assert.AreEqual(expected, ht["applicationPath"]);
                Assert.AreEqual(projectName, ht["projectName"]);
                Assert.AreEqual(url, ht["dataUrl"]);
            })
            .Returns(new HtmlFragmentResponse("from nVelocity")).Verifiable();
        }
 public QueueStatusServerPlugin(IFarmService farmService, IVelocityViewGenerator viewGenerator)
 {
     this.farmService   = farmService;
     this.viewGenerator = viewGenerator;
 }
Exemplo n.º 50
0
 public OhlohProjectPlugin(IFarmService farmService, IVelocityViewGenerator viewGenerator)
 {
     this.farmService = farmService;
     this.viewGenerator = viewGenerator;
 }
 public ServerLogServerPlugin(IFarmService farmService, IVelocityViewGenerator viewGenerator, ICruiseUrlBuilder urlBuilder)
 {
     this.farmService   = farmService;
     this.viewGenerator = viewGenerator;
     this.urlBuilder    = urlBuilder;
 }
 public ChangePasswordSecurityAction(IFarmService farmService, IVelocityViewGenerator viewGenerator,
     ISessionStorer storer)
 {
     this.farmService = farmService;
     this.viewGenerator = viewGenerator;
 }
 public ViewConfigurationProjectPlugin(ICruiseManagerWrapper cruiseManager, IVelocityViewGenerator viewGenerator)
 {
     this.cruiseManager = cruiseManager;
     this.viewGenerator = viewGenerator;
 }
Exemplo n.º 54
0
 public SiteTemplateActionDecorator(IAction decoratedAction, IVelocityViewGenerator velocityViewGenerator, ObjectGiver objectGiver)
 {
     this.decoratedAction       = decoratedAction;
     this.velocityViewGenerator = velocityViewGenerator;
     this.objectGiver           = objectGiver;
 }
        /// <summary>
        /// Initializes a new instance of the <see cref="ProjectTimelineAction"/> class.
        /// </summary>
        /// <param name="viewGenerator">The view generator.</param>
        /// <param name="farmService">The farm service.</param>
        /// <param name="urlBuilder"></param>
        public ProjectTimelineAction(IVelocityViewGenerator viewGenerator, IFarmService farmService, ICruiseUrlBuilder urlBuilder)
		{
            this.viewGenerator = viewGenerator;
            this.farmService = farmService;
            this.urlBuilder = urlBuilder;
        }
 public ProjectReportProjectPlugin(IFarmService farmService, IVelocityViewGenerator viewGenerator, ILinkFactory linkFactory)
 {
     this.farmService = farmService;
     this.viewGenerator = viewGenerator;
     this.linkFactory = linkFactory;
 }
 public ServerSecurityConfigurationProjectPlugin(IFarmService farmService,
                                                 IVelocityViewGenerator viewGenerator,
                                                 ISessionRetriever sessionRetriever)
 {
     plugin = new ServerSecurityConfigurationServerPlugin(farmService, viewGenerator, sessionRetriever);
 }
Exemplo n.º 58
0
 /// <summary>
 /// Create a new <see cref="PackageListAction"/>.
 /// </summary>
 /// <param name="viewGenerator"></param>
 /// <param name="farmService"></param>
 public PackageListAction(IVelocityViewGenerator viewGenerator,
                          IFarmService farmService)
 {
     this.viewGenerator = viewGenerator;
     this.farmService   = farmService;
 }
 public ServerLogServerPlugin(IFarmService farmService, IVelocityViewGenerator viewGenerator, ICruiseUrlBuilder urlBuilder)
 {
     this.farmService = farmService;
     this.viewGenerator = viewGenerator;
     this.urlBuilder = urlBuilder;
 }
 public TopControlsViewBuilder(ICruiseRequest request, ILinkFactory linkFactory, IVelocityViewGenerator velocityViewGenerator)
 {
     this.request               = request;
     this.linkFactory           = linkFactory;
     this.velocityViewGenerator = velocityViewGenerator;
 }