Example #1
0
        public SmartCIO GetSmartCIO(String type, GroupNode g)
        {
            SmartCIO.CreateSmartCIO cioFactory = (SmartCIO.CreateSmartCIO)_cioMap[type];

            if (cioFactory == null)
            {
                return(null);
            }
            else
            {
                return(cioFactory(g));
            }
        }
Example #2
0
        /*
         * Member Methods
         */

        public void AddSmartCIO(String type, SmartCIO.CreateSmartCIO factory)
        {
            _cioMap[type] = factory;
        }