Exemple #1
0
        public void Start()
        {
            if (started)
            {
                throw new ApplicationException("Already started");
            }
            if (disposed)
            {
                throw new ApplicationException("Already disposed");
            }

            lifecycleManager.Start(this);
            foreach (DictionaryEntry child in children)
            {
                IPicoContainer pico = (IPicoContainer)child.Value;
                pico.Start();
            }

            started = true;
        }