Exemple #1
0
        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;
 }
Exemple #3
0
        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;
        }