You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Accepting an array of processes as an argument wouldn't make logical sense, unless you would want to operate over all instances at the same time.
For the purpose of this library, writing a class which performs all operations on a set rather than individual item would probably be unnecessary rarely used boilerplate code making the library size larger.
Anyway, consider using a for/foreach loop to just make an Injector for every instance.
Alternatively you can do it with a LINQ one liner:
Process[] p = Process.GetProcessesByName("notepad"); Injector injector = new Injector(p);
Process does not accept a process of type [].
The text was updated successfully, but these errors were encountered: