Personal tools
You are here: Home For Developers Tutorials How to create new extension page 4

page 4

Step 4. Modify PlugInMain class


In PlugInMain.cs text editor window:
     Type in first argument (name of extension) for the base class constructor:
          "Hello World"
     Type in the argument for second argument (extension's type) for the base class constructor:
          "output"
     In Initialize() method, replace "throw... " statement with 
          Timestep = 5;
     In Run() method, replace "throw..." statement with 
          System.Console.WriteLine("Hello World!");

PlugInMain.cs


Rebuild solution (press F6)


< Page 3 | Page 4
Document Actions