Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
using OpenScadGraphEditor.Library;
namespace OpenScadGraphEditor.Refactorings
{
public class IntroduceInvokableRefactoring : Refactoring
{
private readonly InvokableDescription _description;
public IntroduceInvokableRefactoring(InvokableDescription description)
{
_description = description;
}
public override void PerformRefactoring(RefactoringContext context)
{
context.Project.AddInvokable(_description);
}
}
}7951eb9aaThis file is pinned to the selected release. Download the original to open it in your design tool.