This Repository Follow Pluralsight course for C# Builder pattern
You can See project files Example for the Problem and solution which apply Builder pattern Here:
- Problem at e0bb60ffd4e355947fa3a8354244476eaebed9c2 commit
- Solution: There two solution for applying Builder pattern
- first solution (main on
master
branch) Using Director class which use Builder class to create/complete object instance at 1024dfcde827e4eee4a7f56c93d64493d5d9c4c4 commit - second solution (on
fluent-builder-solution
branch) using fluent builder way Like C# built-inStringBuilder
class, Herefluent-builder-solution
branch
- first solution (main on
You can Run Project using Docker, if you don't have Docker , you can install Docker Engine from Here
- First build docker image
docker build -t builderpattern .
- Second run built image
docker run --name builderpattern builderpattern