Improve pasting to support different copy sources

This commit is contained in:
azakhi
2018-09-04 14:18:11 +03:00
parent 2ff9ebf242
commit 69ce542c1a
7 changed files with 95 additions and 41 deletions

View File

@@ -93,5 +93,10 @@ namespace Filtration.ObjectModel.ThemeEditor
Items.Count(c => c.ComponentName == componentName && c.ComponentType == componentType);
return componentCount > 0;
}
public bool ComponentExists(ThemeComponent themeComponent)
{
return ComponentExists(themeComponent.ComponentType, themeComponent.ComponentName);
}
}
}