Esempio n. 1
0
        /// <summary>
        ///     Initializes the container.
        /// </summary>
        /// <param name="container"> The container. </param>
        public void InitializeContainer(IContainer container)
        {
            Container = container;

            if (From != null)
            {
                From.InitializeContainer(container);
            }

            foreach (var item in To)
            {
                if (item != null)
                {
                    item.InitializeContainer(container);
                }
            }

            if (True != null)
            {
                True.InitializeContainer(container);
            }

            if (False != null)
            {
                False.InitializeContainer(container);
            }
        }