Exemple #1
0
        public NodeProvider()
        {
            m_nodeLibrary     = ConstructNodeLibrary(new NodeLibrary());
            m_nodeTypeMapping = new Dictionary <Type, NodeTemplate>();

            foreach (var template in m_nodeLibrary.nodeTemplates)
            {
                m_nodeTypeMapping.Add(template.RuntimeNodeType, template);
            }
        }
Exemple #2
0
 protected abstract NodeLibrary ConstructNodeLibrary(NodeLibrary library);