コード例 #1
0
        public override void InitializeBuilder(ChoPlugInBuilder builder)
        {
            base.InitializeBuilder(builder);

            ChoShellScriptFilePlugInBuilder b = builder as ChoShellScriptFilePlugInBuilder;

            b.ScriptFilePath   = ScriptFilePath;
            b.Arguments        = new Xml.Serialization.ChoCDATA(Arguments);
            b.WorkingDirectory = WorkingDirectory;
        }
コード例 #2
0
        protected override void Clone(ChoPlugInBuilder o)
        {
            base.Clone(o);
            ChoShellScriptFilePlugInBuilder p = o as ChoShellScriptFilePlugInBuilder;

            if (p == null)
            {
                return;
            }

            p.ScriptFilePath   = ScriptFilePath;
            p.Arguments        = Arguments;
            p.WorkingDirectory = WorkingDirectory;
        }