private void AddDefaultConstructor(RoslynCodeBuilder roslynCodeBuilder) { roslynCodeBuilder.PushRegion("Constructor"); roslynCodeBuilder .AddConstructorOpening ( this.ClassName, Accessibility.Public ); foreach (PluginInfo wrappedObj in PluginInfos) { wrappedObj.AddPluginDefaultConstructorInitialization(roslynCodeBuilder); } roslynCodeBuilder.AddLine($"{INIT_METHOD_NAME}()", true); roslynCodeBuilder.Pop(); roslynCodeBuilder.PopRegion(); }