Esempio n. 1
0
        /// <summary>
        /// Handles routes initialization.
        /// </summary>
        private void _RoutesInitialized()
        {
            _NotifyRoutesCollectionInitialized(EventArgs.Empty);

            if (_routesCollectionOwner == null)
            {
                _routesCollectionOwner = new RoutesCollectionOwner(this.Routes);
            }
        }
        /// <summary>
        /// Handles collection initialization completion.
        /// </summary>
        protected override void OnCollectionInitialized()
        {
            base.OnCollectionInitialized();

            _routesCollectionOwner = new RoutesCollectionOwner(this);
        }