Created
January 22, 2017 19:55
-
-
Save mjendza/a67313a6bd7d4cf8a4406241dd6e8797 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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