Exemplo n.º 1
0
        public void Resume()
        {
            if (_trace.IsEnabled)
            {
                _trace.WriteEventActivity(
                    eventId: TraceProvider.StoryBoard_Resume,
                    opCode: EventOpcode.Send,
                    activity: _traceActivity,
                    payload: new object[] { Target?.GetType().ToString(), PropertyInfo?.Path }
                    );
            }

            if (Children != null && Children.Count > 0)
            {
                State = TimelineState.Active;

                for (int i = 0; i < Children.Count; i++)
                {
                    ITimeline child = Children[i];

                    child.Resume();
                }
            }
        }