예제 #1
0
 /// <summary>
 ///     Constructor.
 /// </summary>
 /// <param name="project">Project.</param>
 /// <param name="pathResolver">File path resolver.</param>
 /// <param name="settings">Settings.</param>
 public NodeLauncher(NodeProjectNode project, IPathResolver pathResolver, ISettingsProvider settings)
 {
     Utilities.ArgumentNotNull("project", project);
     _project = project;
     _pathResolver = pathResolver;
     _settings = settings;
 }
예제 #2
0
 /// <summary>
 ///     Constructor.
 /// </summary>
 /// <param name="project">Project.</param>
 /// <param name="pathResolver">File path resolver.</param>
 /// <param name="settings">Settings.</param>
 public NodeLauncher(NodeProjectNode project, IPathResolver pathResolver, ISettingsProvider settings)
 {
     Utilities.ArgumentNotNull("project", project);
     _project      = project;
     _pathResolver = pathResolver;
     _settings     = settings;
 }
예제 #3
0
        protected override ProjectNode CreateProject()
        {
            var project = new NodeProjectNode
            {
                Package = _package
            };

            project.SetSite((IServiceProvider)((System.IServiceProvider)_package).GetService(typeof(IServiceProvider)));

            return(project);
        }
예제 #4
0
        protected override ProjectNode CreateProject()
        {
            var project = new NodeProjectNode
                {
                    Package = _package
                };

            project.SetSite((IServiceProvider) ((System.IServiceProvider) _package).GetService(typeof (IServiceProvider)));

            return project;
        }
예제 #5
0
 public NodeProjectConfig(NodeProjectNode project, string configuration)
     : base(project, configuration)
 {
     _project = project;
 }
예제 #6
0
 public NodeProjectConfig(NodeProjectNode project, string configuration)
     : base(project, configuration)
 {
     _project = project;
 }
예제 #7
0
 public NodeConfigProvider(NodeProjectNode projectNode)
     : base(projectNode)
 {
     _projectNode = projectNode;
 }
예제 #8
0
 public NodeConfigProvider(NodeProjectNode projectNode)
     : base(projectNode)
 {
     _projectNode = projectNode;
 }