using System; using Rhino; namespace AvaloniaMenuIssue { /// /// Every RhinoCommon .rhp assembly must have one and only one PlugIn-derived /// class. DO NOT create instances of this class yourself. It is the /// responsibility of Rhino to create an instance of this class. /// To complete plug-in information, please also see all PlugInDescription /// attributes in AssemblyInfo.cs (you might need to click "Project" -> /// "Show All Files" to see it in the "Solution Explorer" window). /// public class AvaloniaMenuIssuePlugin : Rhino.PlugIns.PlugIn { public AvaloniaMenuIssuePlugin() { Instance = this; } ///Gets the only instance of the AvaloniaMenuIssuePlugin plug-in. public static AvaloniaMenuIssuePlugin Instance { get; private set; } // You can override methods here to change the plug-in behavior on // loading and shut down, add options pages to the Rhino _Option command // and maintain plug-in wide options in a document. } }