No video

C# Observer Pattern Example

  Рет қаралды 31,865

Code Radiance

Code Radiance

Күн бұрын

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: www.youtube.co...
----------My Social Links:
🔴 My Channel: / codefirst
🔴 View Playlists: / codefirst
🔴 My Github: github.com/Nitij

Пікірлер: 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 4 жыл бұрын
Agree, no need to hunt more..
@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 4 жыл бұрын
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!
@ricomarcelo5521
@ricomarcelo5521 3 жыл бұрын
Awesome tutorial! Clear and concise. Thanks much!
@GesikaMarie
@GesikaMarie 4 жыл бұрын
Thanks for the quick and clear explanation!
@bmochoi4482
@bmochoi4482 4 жыл бұрын
It is very clear explanation. Thanks.
@CodeRadiance
@CodeRadiance 4 жыл бұрын
You are welcome!
@user-jo8dg2ft7j
@user-jo8dg2ft7j Жыл бұрын
Beautiful explanation... Thank You.
@miguelangelromar
@miguelangelromar 3 жыл бұрын
Perfectly simple and very clear explanation. Thx. (I subscribe to your channel )
@mdeqbalansari
@mdeqbalansari 4 жыл бұрын
Very nice explanation... Kudos
@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)
@sivaperuman1219
@sivaperuman1219 4 жыл бұрын
Nice explanation. Thanks for your quick demo..
@CodeRadiance
@CodeRadiance 4 жыл бұрын
You are welcome!
@alicakil6935
@alicakil6935 2 жыл бұрын
Very nice explanation. thank you
@vchirilov
@vchirilov 2 жыл бұрын
Isn't it better to inject ISubject via constructor in observer?
@idopin
@idopin 4 жыл бұрын
very presice and clear, this is the exact explanation i was looking for!
@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
@sufisayyad4432
@sufisayyad4432 3 жыл бұрын
Simple and easy 👍👌
@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.
@09harikesh
@09harikesh 4 жыл бұрын
easy nd crisp
@SublimeCS
@SublimeCS 3 жыл бұрын
Excellent video
@AsierWillyams
@AsierWillyams 4 жыл бұрын
Thank youu!!! I understand it perfectly :)
@ragtop63
@ragtop63 7 ай бұрын
What's the difference between creating all of this observer pattern code vs just using events and subscribing to those events?
@CodeRadiance
@CodeRadiance 7 ай бұрын
It's just to show you how it all works but ofcourse you can do your custom implementation as well.
@gorangratte2471
@gorangratte2471 2 жыл бұрын
Should we really pass the subject with a public Notify() and expose that method to every observer?
@AjaySingh-fq4fz
@AjaySingh-fq4fz 4 жыл бұрын
Nicley explain
@i.a.9776
@i.a.9776 2 жыл бұрын
Can u post a good tutorial for osberver in C# ?
@lizethgarayreyes4784
@lizethgarayreyes4784 2 жыл бұрын
Alguien me puede decir donde encontrar el codigo?
@Skartcher
@Skartcher Жыл бұрын
weather estation
@uwehomm8686
@uwehomm8686 3 жыл бұрын
good Job :-)
@irrefl1672
@irrefl1672 4 жыл бұрын
its not ikual tu null.
@hadhebola
@hadhebola 8 ай бұрын
The code is not your repo
Simplest Decorator Design Pattern in C#
10:55
Code Radiance
Рет қаралды 25 М.
C# Chain of Responsibility Design Pattern | Code Examples
19:42
Code Radiance
Рет қаралды 11 М.
这三姐弟太会藏了!#小丑#天使#路飞#家庭#搞笑
00:24
家庭搞笑日记
Рет қаралды 94 МЛН
wow so cute 🥰
00:20
dednahype
Рет қаралды 31 МЛН
白天使选错惹黑天使生气。#天使 #小丑女
00:31
天使夫妇
Рет қаралды 15 МЛН
8 Design Patterns EVERY Developer Should Know
9:47
NeetCode
Рет қаралды 1 МЛН
Why all your classes should be sealed by default in C#
11:43
Nick Chapsas
Рет қаралды 92 М.
The Observer Design Pattern in Cpp - Mike Shah - CppCon 2022
1:02:17
20 Advanced Coding Tips For Big Unity Projects
22:23
Tesseract
Рет қаралды 179 М.
Dependency Injection, The Best Pattern
13:16
CodeAesthetic
Рет қаралды 802 М.
Factory Method Pattern - Design Patterns (ep 4)
27:21
Christopher Okhravi
Рет қаралды 543 М.
5 Design Patterns Every Engineer Should Know
11:51
Traversy Media
Рет қаралды 937 М.
[C#] Delegates and Events (E01: delegates)
7:13
Sebastian Lague
Рет қаралды 172 М.
这三姐弟太会藏了!#小丑#天使#路飞#家庭#搞笑
00:24
家庭搞笑日记
Рет қаралды 94 МЛН