Guest User

Untitled

a guest
Dec 11th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. using SharedContracts;
  2. using System.ComponentModel.Composition;
  3.  
  4. namespace CalculationService2
  5. {
  6. [Export(typeof(ICalculationService))]
  7. public class Addition : ICalculationService
  8. {
  9. public int Calculate(int number1, int number2)
  10. {
  11. return number1 * number2;
  12. }
  13. }
  14. }
Add Comment
Please, Sign In to add comment