Esempio n. 1
0
        public override void InitializeBuilder(ChoPlugInBuilder builder)
        {
            base.InitializeBuilder(builder);

            ChoShellScriptPlugInBuilder b = builder as ChoShellScriptPlugInBuilder;

            b.Script           = new Xml.Serialization.ChoCDATA(Script);
            b.Arguments        = new Xml.Serialization.ChoCDATA(Arguments);
            b.WorkingDirectory = WorkingDirectory;
        }
Esempio n. 2
0
        protected override void Clone(ChoPlugInBuilder o)
        {
            base.Clone(o);
            ChoShellScriptPlugInBuilder p = o as ChoShellScriptPlugInBuilder;

            if (p == null)
            {
                return;
            }

            p.Script           = Script;
            p.Arguments        = Arguments;
            p.WorkingDirectory = WorkingDirectory;
        }