15 lines
345 B
Python
15 lines
345 B
Python
from utils.SlnPatcher import SlnPatcher
|
|
|
|
|
|
class RemoveProjectCommand:
|
|
def __init__(self, slnPath, projectName):
|
|
assert slnPath is not None
|
|
assert projectName is not None
|
|
|
|
self.__slnPath = slnPath
|
|
self.__projectName = projectName
|
|
|
|
def execute(self):
|
|
patcher = SlnPatcher(self.__slnPath)
|
|
patcher.removeProjects([self.__projectName])
|