private void StartChild(IBehavior child)
        {
            child.Start();
            //IPolledStatus polledChild = child as IPolledStatus;

            //if (polledChild == null)
            //{
            //}
            //else
            //{
                
            //    RecurranceParameters rp = null;
            //    var hasRP = child as IHasStatusRecurranceParameters;
            //    if (hasRP != null)
            //    {
            //        rp = hasRP.StatusRecurranceParameters;
            //    }

            //    if (rp == null)
            //    {
            //        if (!DefaultInterval.HasValue)
            //        {
            //            throw new Exception("Children must have RecurranceParameters, or DefaultInterval must be set.");
            //        }
            //        else
            //        {
            //            rp = new RecurranceParameters() { Interval = DefaultInterval.Value };
            //        }
            //    }

            //    var poller = new StatusPoller(child, rp);
            //    poller.IsEnabled = true;
            //}
        }