Created
April 7, 2018 09:26
-
-
Save NMZivkovic/5f0984deec0b7937b3a8908b231add34 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
public class Client | |
{ | |
private readonly IService1 _service1; | |
private readonly IService2 _service2; | |
public Client(IService1 service, IService2 service2) | |
{ | |
_service1 = service; | |
_service2 = service2; | |
} | |
public void InitiateServiceMethods() | |
{ | |
_service1.Service1Method(); | |
_service2.Service2Method(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment