Пример #1
0
        private void Register()
        {
            _tFactory = new TestUnitTypeFactory();

            List<UnitTypeFactory> _lFact = new List<UnitTypeFactory>();

            _lFact.Add(_tFactory); //iterate this for each UnitTypeFactory

            base.Register(_lFact.ToArray());

            _lFact = null; //this probably isn't necessary, is it?
        }
Пример #2
0
        private void Register()
        {
            _tFactory = new TestUnitTypeFactory();

            List <UnitTypeFactory> _lFact = new List <UnitTypeFactory>();

            _lFact.Add(_tFactory); //iterate this for each UnitTypeFactory

            base.Register(_lFact.ToArray());

            _lFact = null; //this probably isn't necessary, is it?
        }