Double Dispatch in C# and DDD

added by DotNetKicks
12/1/2018 1:09:17 PM

2 Kicks, 2985 Views

Double dispatch is a pattern you can use in C# to control how communication flows between two objects. A frequent use of the pattern is to pass "this" to a function on another class, allowing that class to communicate back to or manipulate the calling object instance.