protected override bool SelectTemplate(object template) { NodeLibraryManager.NodeLibraryType node = (NodeLibraryManager.NodeLibraryType)template; if (node.ConfigType != null) { Server = new LibraryDataEndpointFactory(node.Type, node.ConfigType, node.Name); } else { Server = new LibraryDataEndpointFactory(node.Type, node.Name); } return true; }
public NetServerProxyClient(DataEndpointFactory factory) { _factory = factory; }
protected override bool SelectScript(ScriptDocument document, string className) { Server = new ScriptDataEndpointFactory(document, className); return true; }
private void UpdateFactory(DataEndpointFactory factory) { _factory = factory; textBoxLibraryServer.Text = factory.Name; propertyGrid.SelectedObject = factory.Config; }