tand/test/Tand.Core.Tests/TandSample.cs

22 lines
372 B
C#
Raw Normal View History

using Tand.Core.Api;
2020-03-10 00:01:59 +00:00
namespace Tand.Core.Tests
{
public interface ITandSample
2020-03-10 00:01:59 +00:00
{
[Tand(typeof(LogTarget<ITandSample>))]
2020-03-10 00:01:59 +00:00
int LogMyParams(string s, int i);
}
public class TandSample : ITandSample
2020-03-10 00:01:59 +00:00
{
private int _counter;
2020-03-10 00:01:59 +00:00
public int LogMyParams(string s, int i)
{
return ++_counter;
}
}
}