Created
July 20, 2016 04:12
-
-
Save simpleprogrammer-shared/983bd5c42459ee09805ec2461175a5d9 to your computer and use it in GitHub Desktop.
3 Simple Techniques to Make APIs Easier to Use and Understand 2
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 void LoginAsCustomer(LoginInfo loginInfo, string customerType, int numberOfTries) | |
{ | |
// ... | |
} | |
var loginInfo = new LoginInfo("Darth Vader", "ihatewookes"); | |
LoginAsCustomer(loginInfo, "New Customer", 3); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment