Bickle.ExampleContainer.GetAfters C# (CSharp) Method

GetAfters() protected method

protected GetAfters ( ) : IEnumerable
return IEnumerable
        protected IEnumerable<Action> GetAfters()
        {
            if (Parent == null)
                return new[] { After };

            return (new[] { After }.Union(Parent.GetAfters())).Reverse();
        }