Тёмный

C# Observer Pattern Example 

Code Radiance
Подписаться 14 тыс.
Просмотров 31 тыс.
50% 1

Observer design pattern in c# can be very useful in a lot of different scenarios.
Watch this video and learn how to implement the observer design pattern in your projects.
►►►SUBSCRIBE for more: ru-vid.com?s...
----------My Social Links:
🔴 My Channel: / codefirst
🔴 View Playlists: / codefirst
🔴 My Github: github.com/Nitij

Наука

Опубликовано:

 

20 ноя 2019

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 35   
@manudelmarche
@manudelmarche 4 года назад
So in 15 minutes I got exactly what I needed to fully understand the observable pattern in C#. Subscribed immediately!
@devenshah3653
@devenshah3653 3 года назад
Agree, no need to hunt more..
@GesikaMarie
@GesikaMarie 4 года назад
Thanks for the quick and clear explanation!
@ricomarcelo5521
@ricomarcelo5521 3 года назад
Awesome tutorial! Clear and concise. Thanks much!
@letticiadlamini1009
@letticiadlamini1009 3 года назад
I subscribed right after watching the video. Was really helpful.
@achilleskocaeli
@achilleskocaeli 3 года назад
Excellent.. Excellent... Excellent. I love you man. I now got Observer Pattern
@mireazma
@mireazma 3 года назад
2 cents: in the most compact form of an observer pattern you don't need a subject parameter in Update(). You only need it if you do something based on the subject like the _celsius_ temperature. Or if there are multiple subjects. Nice explanation BTW!
@mdeqbalansari
@mdeqbalansari 4 года назад
Very nice explanation... Kudos
@miguelangelromar
@miguelangelromar 3 года назад
Perfectly simple and very clear explanation. Thx. (I subscribe to your channel )
@AsierWillyams
@AsierWillyams 3 года назад
Thank youu!!! I understand it perfectly :)
@user-jo8dg2ft7j
@user-jo8dg2ft7j Год назад
Beautiful explanation... Thank You.
@idopin
@idopin 4 года назад
very presice and clear, this is the exact explanation i was looking for!
@alicakil6935
@alicakil6935 2 года назад
Very nice explanation. thank you
@rosian23
@rosian23 3 года назад
Something seems off, in NewsAgency -> Update method after casting to WeatherStation I have access to Notify method, I should not have so that I don't call it explicitly
@sivaperuman1219
@sivaperuman1219 4 года назад
Nice explanation. Thanks for your quick demo..
@CodeRadiance
@CodeRadiance 4 года назад
You are welcome!
@bmochoi4482
@bmochoi4482 4 года назад
It is very clear explanation. Thanks.
@CodeRadiance
@CodeRadiance 4 года назад
You are welcome!
@abdelrhmanahmed1378
@abdelrhmanahmed1378 2 года назад
observer can update the temp through the object you send to him ,and that will crash the program, due to continue calling the notify each time and then we set ,notify ,,, (stack overflow)
@sufisayyad4432
@sufisayyad4432 3 года назад
Simple and easy 👍👌
@SublimeCS
@SublimeCS 2 года назад
Excellent video
@vchirilov
@vchirilov 2 года назад
Isn't it better to inject ISubject via constructor in observer?
@09harikesh
@09harikesh 4 года назад
easy nd crisp
@lizethgarayreyes4784
@lizethgarayreyes4784 2 года назад
Alguien me puede decir donde encontrar el codigo?
@AjaySingh-fq4fz
@AjaySingh-fq4fz 4 года назад
Nicley explain
@i.a.9776
@i.a.9776 2 года назад
Can u post a good tutorial for osberver in C# ?
@gorangratte2471
@gorangratte2471 2 года назад
Should we really pass the subject with a public Notify() and expose that method to every observer?
@uwehomm8686
@uwehomm8686 3 года назад
good Job :-)
@ragtop63
@ragtop63 5 месяцев назад
What's the difference between creating all of this observer pattern code vs just using events and subscribing to those events?
@CodeRadiance
@CodeRadiance 5 месяцев назад
It's just to show you how it all works but ofcourse you can do your custom implementation as well.
@Incrazyboyy
@Incrazyboyy 4 года назад
Thank you, this will get me a better grade at my test tomorrow! Feedback: The explanation throughout the video was very good - at the beginning however, the part with the interfaces was lacking details.
@CodeRadiance
@CodeRadiance 4 года назад
Thanks for the review! All the best for your test.
@Skartcher
@Skartcher Год назад
weather estation
@irrefl1672
@irrefl1672 4 года назад
its not ikual tu null.
@hadhebola
@hadhebola 6 месяцев назад
The code is not your repo
Далее
Simplest Decorator Design Pattern in C#
10:55
Просмотров 25 тыс.
КОРОЧЕ ГОВОРЯ, ШКОЛА БУДУЩЕГО
10:40
Осторожно селеба идет 😂
00:16
Просмотров 452 тыс.
Singleton Design Pattern in C# - Do it THAT way
13:15
10 Design Patterns Explained in 10 Minutes
11:04
Просмотров 2,2 млн
Factory Pattern in C#: Creating Objects with Ease
12:54
Factory Design Pattern - Why and How with Code!!
15:35
Dependency Injection, The Best Pattern
13:16
Просмотров 758 тыс.
The Smart Way of Using the Decorator Pattern in C#
12:37
How to Implement the Strategy Pattern in C#:
8:51
Просмотров 4 тыс.