You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
625 B

  1. namespace UnityEditor.PackageManager.UI
  2. {
  3. internal class UpmOperationFactory : IOperationFactory
  4. {
  5. public IListOperation CreateListOperation(bool offlineMode = false)
  6. {
  7. return new UpmListOperation(offlineMode);
  8. }
  9. public ISearchOperation CreateSearchOperation()
  10. {
  11. return new UpmSearchOperation();
  12. }
  13. public IAddOperation CreateAddOperation()
  14. {
  15. return new UpmAddOperation();
  16. }
  17. public IRemoveOperation CreateRemoveOperation()
  18. {
  19. return new UpmRemoveOperation();
  20. }
  21. }
  22. }