Пример #1
0
        public IfElseBlock If(string declaration, Func <IEnumerable <string> > populate)
        {
            var ifElseBlock = new IfElseBlock(declaration, populate);

            Add(ifElseBlock);
            return(ifElseBlock);
        }
Пример #2
0
        public IfElseBlock If(string declaration, Action <ScopeBody> populate)
        {
            var ifElseBlock = new IfElseBlock(declaration, populate);

            Add(ifElseBlock);
            return(ifElseBlock);
        }