Skip to content

Instantly share code, notes, and snippets.

@migsalazar
Last active June 17, 2016 04:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save migsalazar/53d97e3516772460ba57f8f1e400935d to your computer and use it in GitHub Desktop.
Save migsalazar/53d97e3516772460ba57f8f1e400935d to your computer and use it in GitHub Desktop.
RfcBuilder
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