/// <summary>
        /// Loads a node set from a file or resource and addes them to the set of predefined nodes.
        /// </summary>
        protected override NodeStateCollection LoadPredefinedNodes(ISystemContext context)
        {
            NodeStateCollection predefinedNodes = new NodeStateCollection();

            for (int ix = 0; ix < m_allPredefinedNodes.Length; ix++)
            {
                FileInfo fiPredifinedNodes = CASConfiguration.PreparePathBasedOnBaseDirectory(m_allPredefinedNodes[ix].PredefinedNodes);
                using (Stream reader = File.Open(fiPredifinedNodes.FullName, FileMode.Open))
                {
                    predefinedNodes.LoadFromBinary(context, reader, true);
                }
                FileInfo csvFi = CASConfiguration.PreparePathBasedOnBaseDirectory(m_allPredefinedNodes[ix].CSVFile);
                m_DataBindings.LoadIdentifiersFromFile(csvFi.FullName);
            }
            return(predefinedNodes);
        }