Created
September 8, 2015 14:30
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
using System; | |
namespace Builder | |
{ | |
public class MyClassClient | |
{ | |
public void ExecuteTheDefaultUseCase() | |
{ | |
var myClass = new MyClassBuilder() | |
.SetTheName("the first use case is simple") | |
.Build(); | |
var theResult = myClass.DoSomeBehavior(); | |
} | |
public void ExecuteAnotherUseCase() | |
{ | |
var myClass = new MyClassBuilder() | |
.SetTheName("the first another one") | |
.PrependPropertyDescriptor() | |
.LowerizeOutput() | |
.Build(); | |
var theResult = myClass.DoSomeBehavior(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment