Create a method for an object

Create a method for an object to be performed at runtime. Create a method for a Runtime Netlogics that you add to Project view.

  1. In Project view, select the object node.
  2. Select Add and then select Runtime NetLogic.

    Runtime NetLogic# appears in Project view.

  3. Right-click RuntimeNetLogic and select New > Method.
    NetLogic opens in the editor with added code:
    
    [ExportMethod]
    public void MethodName()
    {
        // insert code to be executed by method
    }
  4. (Optional) Rename the method in C#.