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

22 lines
No EOL
364 B
C#

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