tand/test/Tand.Core.Tests/TandSample.cs
Peter Kurfer d8d307545f
Refactored
- Added Benchmarks
- Added Nuke build
- Refactored directory structure
- Generated GitHub Actions config from Nuke
- Added tool to handle benchmarking from Nuke
2020-03-21 01:10:20 +01:00

22 lines
No EOL
372 B
C#

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