Last active
June 17, 2016 04:09
-
-
Save migsalazar/53d97e3516772460ba57f8f1e400935d to your computer and use it in GitHub Desktop.
RfcBuilder
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 RfcBuilder { | |
private string Name; | |
private string FirstLastName; | |
//more properties | |
public RfcBuilder WithName(string name) { | |
this.Name = name; | |
return this; | |
} | |
public RfcBuilder WithFirstLastName(string firstLastName) { | |
this.Name = name; | |
return this; | |
} | |
//more methods... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment