Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
[InterceptLogger(1)]
public class TaskFakeService : ITaskService
{
public int GetById(int id)
{
return 1;
}
[InterceptExceptions(2)]
public IList<int> GetAll()
{
throw new AggregateException();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment