Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using SharedContracts;
- using System.ComponentModel.Composition;
- namespace CalculationService2
- {
- [Export(typeof(ICalculationService))]
- public class Addition : ICalculationService
- {
- public int Calculate(int number1, int number2)
- {
- return number1 * number2;
- }
- }
- }
Add Comment
Please, Sign In to add comment