Пример #1
0
        public void If(If ifact, Act action, Act Else = null, Until until = null)
        {
            var ni = new IfInfo();

            ni.If = ifact;

            ni.Else   = Else;
            ni.Action = action;
            ni.Until  = until;
            Ifs.Add(ni);
        }
Пример #2
0
        public void If(If ifact, Act action, Act Else = null, Until until = null)
        {
            IfInfo ni = new IfInfo
            {
                If     = ifact,
                Else   = Else,
                Action = action,
                Until  = until
            };

            Ifs.Add(ni);
        }