jose 73 Posted March 19, 2015 Share Posted March 19, 2015 I am trying to learn how to develop a simple plugin. During this process i use the IHttpClient and the login class, after that i created a unit test but i need to be able to initialize the httpclient how can i do this? Link to comment Share on other sites More sharing options...
ebr 14960 Posted March 20, 2015 Share Posted March 20, 2015 You don't create your own. Those are dependencies that are passed into the constructor of your server entry point. Dependency injection Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now