Exemple #1
0
        public TNextChapter ProceedToChapter <TNextChapter>([CallerMemberName] string memberName = "")
            where TNextChapter : Chapter <TStoryData>, new()
        {
            _context.AddPipelineStep(memberName, () =>
                                     _execute(_context)
                                     );

            var nextStep = new TNextChapter {
                Context = _context
            };

            return(nextStep);
        }