Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3074

Interface building question

$
0
0

Hi,

 

I do have a bunch of classes, which are very similar. All this classes will have a bunch of method, which will have the same name and work similar processes. I'd like to bundle the methods into an interface. The problem is: Each implementation of this methods will get different importing-parameters.

 

How do I solve that? Type ANY? Or many optional importing parameters, to cover all possible implementations?


Viewing all articles
Browse latest Browse all 3074

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>