コード例 #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
        protected override ProjectNode CreateProject()
        {
            var project = new NodeProjectNode
                {
                    Package = _package
                };

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

            return project;
        }
コード例 #3
0
 public NodeProjectConfig(NodeProjectNode project, string configuration)
     : base(project, configuration)
 {
     _project = project;
 }
コード例 #4
0
 public NodeConfigProvider(NodeProjectNode projectNode)
     : base(projectNode)
 {
     _projectNode = projectNode;
 }