Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Service : IService
- {
- private readonly IClient _client;
- public Service() : this(new Client())
- {
- }
- public Service(IClient client)
- {
- _client = client;
- }
- //....
- }
- public class Client : IClient
- {
- //....
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement