ГлавнаяКомпьютерC#, C++

Builder Pattern Example in C#

Просмотров 1 890
Добавлено: 138 дней назад
Встроить видео
0%
Добавьте следующий код на свою страницу, чтобы встроить это видео:
<iframe src="http://tng.pw/embed/226804/" width="650" height="405" frameborder="0"></iframe> <br />
<a href="http://tng.pw//226804/">Builder Pattern Example in C#</a>
Видео входит в курсы: мастер-класс C#

In the first episode of Five Minute Fridays, I very quickly explore the wonderful, sometimes-useful, sometimes-over-complicated Builder Pattern. I talk briefly about two different implementations of the Builder Pattern in C#, as you might apply it to a purchase order builder for an imaginary bakery.

Check out https://www.productivedev.com for my latest premium course on ASP.NET Core 2.0, where we build a Forum App from scratch and deploy it to Azure. Use coupon code 'thankyou' to get 35% off when purchasing a Pro Membership!

The Builder Pattern helps separate the construction of an object from its representation. I've found the Fluent Builder Pattern to be quite useful when creating some data for building automated tests.

Sorry this one goes over 5 minutes, I promise to get the time down in future episodes.

If you have any questions or requests for future episodes, leave them in the comments below!

Intro music by taketime - http://taketime.bandcamp.com & http://www.soundcloud.com/taketimetaketime
Used with permission. Go check out his great music!

GitHub repo with code from this video:
https://github.com/wesdoyle/5-minute-fridays/tree/master/PurchaseOrderBuilder/PurchaseOrderBuilder

Рекомендуем: