Beispiel #1
0
        protected override void InitPlugInBuilderProperty(ChoPlugInBuilderProperty plugInBuilderProperty)
        {
            if (plugInBuilderProperty == null)
            {
                return;
            }

            base.InitPlugInBuilderProperty(plugInBuilderProperty);

            ChoVBNETCodeSnippetPlugInBuilderProperty o = plugInBuilderProperty as ChoVBNETCodeSnippetPlugInBuilderProperty;

            if (o == null)
            {
                return;
            }

            o.CodeSnippet = CodeSnippet.GetValue();
            o.Arguments   = Arguments.GetValue();
            o.Namespaces  = Namespaces;
        }
Beispiel #2
0
        protected override void InitPlugIn(ChoPlugIn plugIn)
        {
            if (plugIn == null)
            {
                return;
            }

            base.InitPlugIn(plugIn);

            ChoVBNETCodeSnippetPlugIn o = plugIn as ChoVBNETCodeSnippetPlugIn;

            if (o == null)
            {
                return;
            }

            o.CodeSnippet = CodeSnippet.GetValue();
            o.Arguments   = Arguments.GetValue();
            o.Namespaces  = Namespaces;
        }