예제 #1
0
        public override void InitializeBuilder(ChoPlugInBuilder builder)
        {
            base.InitializeBuilder(builder);

            ChoJavaScriptFilePlugInBuilder b = builder as ChoJavaScriptFilePlugInBuilder;

            b.ScriptFilePath   = ScriptFilePath;
            b.Arguments        = new Xml.Serialization.ChoCDATA(Arguments);
            b.WorkingDirectory = WorkingDirectory;
        }
        protected override void Clone(ChoPlugInBuilder o)
        {
            base.Clone(o);
            ChoJavaScriptFilePlugInBuilder p = o as ChoJavaScriptFilePlugInBuilder;

            if (p == null)
            {
                return;
            }

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