Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

Non IPlugin classes in plugins assembly

$
0
0

I have one assembly with several plugins. These plugins use one non Iplugin class for some actions with several methods. This is correct or bad?

public void Execute(IServiceProvider serviceProvider)
{

//some code

Class  class1= new Class();

var a =class.sum(a,b);

}

class Class {

public int sum(a,b){

//some code

}

}





Viewing all articles
Browse latest Browse all 8223

Trending Articles



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