/// <summary> /// Delete the given modelsytem /// </summary> /// <param name="modelSystem">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 DeleteModelSystem(IModelSystem modelSystem, ref string error) { var command = new XTMF.Commands.DeleteModelSystem( modelSystem, this.Configuration ); return ( this.XTMFRuntime.ProcessCommand( command, ref error ) ); }
/// <summary> /// Delete the given modelsytem /// </summary> /// <param name="modelSystem">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 DeleteModelSystem(IModelSystem modelSystem, ref string error) { var command = new XTMF.Commands.DeleteModelSystem(modelSystem, this.Configuration); return(this.XTMFRuntime.ProcessCommand(command, ref error)); }