You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
639 B
C#
37 lines
639 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MoqStudy.MockModel
|
|
{
|
|
public class DemoHelper : IDemo
|
|
{
|
|
public virtual int Add(int a, int b)
|
|
{
|
|
return a = b;
|
|
}
|
|
|
|
public int Minus(int a, int b)
|
|
{
|
|
return a - b;
|
|
}
|
|
}
|
|
|
|
public interface IDemo
|
|
{
|
|
int Minus(int a, int b);
|
|
}
|
|
|
|
public interface CommandBaseProtectedMembers
|
|
{
|
|
bool Execute(string arg);
|
|
}
|
|
|
|
public interface TeacherDoubling
|
|
{
|
|
decimal Doubling(decimal number);
|
|
}
|
|
}
|