filmov
tv
C# - Class Callbacks (Communicating between multiple classes)

Показать описание
I should point out im not a "professional" at C#, i just do it for a hobby and want to help others learn :) So if i get something wrong... welp :/.
This video shows how 2 classes can communicate via each other. a class called thing1 creates an instance of a class called thing2. thing1 can talk to thing2 but thing2 cant talk to thing1.
So to fix that, thing 2 adds a method thingy as a callback to thing1, which thing1 can "hook" onto. So basically, when thing2 calls that method with a string parameter, it does some c# callback magic and runs the "Hooked" method in thing1 with the string parameter.
Song: Invincible - YouTube Audio Library
This video shows how 2 classes can communicate via each other. a class called thing1 creates an instance of a class called thing2. thing1 can talk to thing2 but thing2 cant talk to thing1.
So to fix that, thing 2 adds a method thingy as a callback to thing1, which thing1 can "hook" onto. So basically, when thing2 calls that method with a string parameter, it does some c# callback magic and runs the "Hooked" method in thing1 with the string parameter.
Song: Invincible - YouTube Audio Library
Callbacks Explained Simply
C# - Class Callbacks (Communicating between multiple classes)
Using Delegate for Callback function | C# Events & Delegates | Advance Concepts of C#
Function pointers in C |Callback functions | 01|
What is a callback function?
Function pointers, delegates and callbacks | Beginner friendly
Class vs. Callback Commands - EASY WPF (.NET 5)
Function Pointers in C
Function pointer in c programming | Callback function
C# : Passing a callback function to another class
C++ : Callback function pointers C++ with/without classes
Kotlin Callbacks, Closures & Lambdas
Pico C++ Callback WITH Context
programming callback
C# Events and Delegates Made Simple | Mosh
Callbacks - Coding #Shorts
5 EASY WAYS TO GET YOUR CLASS QUIET - Middle School Tips for Classroom Management #teacher
004 Callbacks With Interfaces
Callback Prevention - Communication and Priorities
Tools and Techniques for Testing Callbacks Using Standard C++ - Alastair Rankine [ CppCon 2018 ]
How to Make 2500 HTTP Requests in 2 Seconds with Async & Await
C++ : C++: Class member functions as event callbacks
CppCon 2016: John Bandela “Channels - An alternative to callbacks and futures'
How C++20 Changes the Way We Write Code - Timur Doumler - CppCon 2020
Комментарии