/// <summary> /// Gets a <see cref="ProjectInstance" /> from the current project. /// </summary> /// <param name="projectInstance">Receives the <see cref="ProjectInstance" />.</param> /// <param name="projectInstanceSettings">Optional <see cref="ProjectInstanceSettings" /> to use when creating the project instance.</param> /// <param name="evaluationContext">Optional <see cref="EvaluationContext" /> to use when creating the project instance.</param> /// <returns>The current <see cref="ProjectCreator"/>.</returns> public ProjectCreator TryGetProjectInstance( out ProjectInstance projectInstance, ProjectInstanceSettings projectInstanceSettings = ProjectInstanceSettings.None, EvaluationContext evaluationContext = null) { projectInstance = Project.CreateProjectInstance(projectInstanceSettings, evaluationContext); return(this); }
/// <summary> /// Facilitate remoting the <see cref="Project.CreateProjectInstance(ProjectInstanceSettings, EvaluationContext)"/>. /// </summary> public abstract ProjectInstance CreateProjectInstance(ProjectInstanceSettings settings, EvaluationContext evaluationContext);