Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
namespace OpenScadGraphEditor.Refactorings
{
public class ChangeProjectPreambleRefactoring : Refactoring
{
private readonly string _newPreamble;
public ChangeProjectPreambleRefactoring(string newPreamble)
{
_newPreamble = newPreamble;
}
public override void PerformRefactoring(RefactoringContext context)
{
context.Project.Preamble = _newPreamble;
}
}
}7192f5216This file is pinned to the selected release. Download the original to open it in your design tool.