Example #1
0
 /// <summary>
 /// Create a new project
 /// </summary>
 /// <param name="name">The name of the project</param>
 /// <param name="description">A description of the project</param>
 /// <param name="error">An error message string in case of an error</param>
 /// <returns>The project that was created, null if there was an error</returns>
 public IProject CreateProject(string name, string description, ref string error)
 {
     var command = new XTMF.Commands.CreateNewProject( this.Configuration,
           name, description );
     return this.XTMFRuntime.ProcessCommand( command, ref error ) ? command.GeneratedProject : null;
 }
Example #2
0
 /// <summary>
 /// Create a new project
 /// </summary>
 /// <param name="name">The name of the project</param>
 /// <param name="description">A description of the project</param>
 /// <param name="error">An error message string in case of an error</param>
 /// <returns>The project that was created, null if there was an error</returns>
 public IProject CreateProject(string name, string description, ref string error)
 {
     var command = new XTMF.Commands.CreateNewProject( this.Configuration,
           name, description );
     return this.XTMFRuntime.ProcessCommand( command, ref error ) ? command.GeneratedProject : null;
 }