コード例 #1
0
        public LogicRules GenerateRules(IEnumerable <CustomSocket> sockets)
        {
            var logicRules = new LogicRules();

            foreach (var socket in sockets)
            {
                logicRules.AddSocket(socket);
            }

            return(logicRules);
        }
コード例 #2
0
 public override void AddSocket(CustomSocket socket) => _rules.AddSocket(socket);