Esempio n. 1
0
 public NodePlugin(Host vlHost, RuntimeHost runtimeHost, NodeId nodeId, IPluginHost2 pluginHost, IIORegistry ioRegistry)
 {
     FInstanceId  = Element.ProduceNewIdentity();
     FVlHost      = vlHost;
     FRuntimeHost = runtimeHost;
     NodeId       = nodeId;
     FPluginHost  = pluginHost;
     FIORegistry  = ioRegistry;
     FBuildResult = new BuildResult(this, null, null, null, null, null, null);
 }
Esempio n. 2
0
 public void Dispose()
 {
     if (FPatchEditor != null)
     {
         FPatchEditor.OpenHostingView -= PatchEditor_OpenHostingView;
         FPatchEditor.VisibleChanged  -= PatchEditor_VisibleChanged;
         FPatchEditor.Dispose();
     }
     RuntimeHost.Dispose();
 }