1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- using EasyRpc.Services;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Threading.Tasks;
- namespace EasyRpc.Interfaces
- {
- public interface IIntMath
- {
- /// <summary>
- /// Add to integers together
- /// hello tanya
- /// </summary>
- /// <param name="x">first integer</param>
- /// <param name="y">second integer</param>
- /// <returns></returns>
- int Add(int x, int y);
- /// <summary>
- /// Subtract to integers together
- /// </summary>
- /// <param name="x">first integer</param>
- /// <param name="y">second integer</param>
- /// <returns></returns>
- int Subtract(Item item);
- /// <summary>
- /// Multiply to integers together
- /// </summary>
- /// <param name="x">first integer</param>
- /// <param name="y">second integer</param>
- /// <returns></returns>
- int Multiply(int x, int y);
- /// <summary>
- /// Divide to integers together
- /// </summary>
- /// <param name="x">first integer</param>
- /// <param name="y">second integer</param>
- /// <returns></returns>
- int Divide(int x, int y);
- }
- }
|