Skip to content

Instantly share code, notes, and snippets.

@oinant
Created September 8, 2015 15:12
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 oinant/2817dcb4444fa57da4ed to your computer and use it in GitHub Desktop.
Save oinant/2817dcb4444fa57da4ed to your computer and use it in GitHub Desktop.
using System;
namespace Builder
{
public class MyPoorClassClient
{
public void ExecuteTheDefaultUseCase()
{
var myClass = new MyClass("the name to use", false, false);
var theResult = myClass.DoSomeBehavior();
}
public void ExecuteAnotherUseCase()
{
var myClass = var myClass = new MyClass("the first another one", true, true);
var theResult = myClass.DoSomeBehavior();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment