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

            ChoVBNETCodeSnippetPlugInBuilder b = builder as ChoVBNETCodeSnippetPlugInBuilder;

            b.CodeSnippet = new ChoCDATA(CodeSnippet);
            b.Arguments   = new ChoCDATA(Arguments);
            b.Namespaces  = Namespaces;
        }
コード例 #2
0
        protected override void Clone(ChoPlugInBuilder o)
        {
            base.Clone(o);
            ChoVBNETCodeSnippetPlugInBuilder p = o as ChoVBNETCodeSnippetPlugInBuilder;

            if (p == null)
            {
                return;
            }

            p.CodeSnippet = CodeSnippet;
            p.Arguments   = Arguments;
            p.Namespaces  = Namespaces;
        }