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; }
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; }