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

            ChoDotNetAssemblyPlugInBuilder b = builder as ChoDotNetAssemblyPlugInBuilder;

            b.TypeName       = TypeName;
            b.MethodName     = MethodName;
            b.IsStaticMethod = IsStaticMethod;
            b.Arguments      = new Xml.Serialization.ChoCDATA(Arguments);
        }
        protected override void Clone(ChoPlugInBuilder o)
        {
            base.Clone(o);
            ChoDotNetAssemblyPlugInBuilder p = o as ChoDotNetAssemblyPlugInBuilder;

            if (p == null)
            {
                return;
            }

            p.TypeName       = TypeName;
            p.MethodName     = MethodName;
            p.IsStaticMethod = IsStaticMethod;
            p.Arguments      = Arguments;
        }