Let's say I have a class that processes images and has an overloaded method:
ProcessImages(StorageFolder src, ProcessOptions options)
ProcessImages(StorageFolder src, ProcessOptions options, IProgress<int> progress)
What would be the correct way to create an interface to this class?
Option 1: Declare both methods in one interface?
Option 2: Create two interfaces with one method in each?
Another option?
Aucun commentaire:
Enregistrer un commentaire