Exemple #1
0
        public PathBothSide(PathManager mgr, Command cmd)
        {
            this.mgr = mgr;
            ps1 = new PathSide(mgr);
            ps2 = new PathSide(mgr);

            var f1 = ps1.SetSource(cmd.arg1);
            var f2 = ps2.SetSink(cmd.arg2);
            valid = f1 && f2;
        }
Exemple #2
0
        public PathBothSide(PathManager mgr, ApplicationCommand cmd)
        {
            this.mgr = mgr;
            ps1      = new PathSide(mgr, cmd);
            ps2      = new PathSide(mgr, cmd);

            var f1 = ps1.SetSource(cmd.arg1);
            var f2 = ps2.SetSink(cmd.arg2);

            valid = f1 && f2;
        }