Restart Application


Node Information
Restarts the application. This will exits the application completely, closes all open forms and starts the application again.
General Information
• This node doesn't have other available options.
Visual
Visual

Ports
Text Type DataType Accepts IsList CustomAcception
Restart IN RUN MULTIPLE FALSE FALSE

Source
namespace Korduene.KGraph.Nodes.Application.Functions
{
    [IsNode("Restart Application")]
    public class RestartApplication : Node
    {
        Port run = new Port(PortType.IN, typeof(RUN), AcceptsLinks.MULTIPLE, "Restart");
        public RestartApplication()
        {
            this.Name = "Restart Application";
            AddPort(run);
            run.Instructions = "Application.Restart();";
            Information = "Restarts the application. This will exits the application completely, " +
                "closes all open forms and starts the application again.";
        }
    }
}