Esempio n. 1
0
 /// <summary>
 /// Delete the given project
 /// </summary>
 /// <param name="project">The project to delete</param>
 /// <param name="error">A message containing the error if there was one</param>
 /// <returns>True if successful, false otherwise with an error message</returns>
 public bool DeleteProject(IProject project, ref string error)
 {
     var command = new XTMF.Commands.DeleteProject( project, this.Configuration );
     return ( this.XTMFRuntime.ProcessCommand( command, ref error ) );
 }
Esempio n. 2
0
 /// <summary>
 /// Delete the given project
 /// </summary>
 /// <param name="project">The project to delete</param>
 /// <param name="error">A message containing the error if there was one</param>
 /// <returns>True if successful, false otherwise with an error message</returns>
 public bool DeleteProject(IProject project, ref string error)
 {
     var command = new XTMF.Commands.DeleteProject( project, this.Configuration );
     return ( this.XTMFRuntime.ProcessCommand( command, ref error ) );
 }