yeah, that's what I'm asking. It's nicer to use th...
# random
k
yeah, that's what I'm asking. It's nicer to use those interfaces though, because: 1) they assert that the method signature is correct, and allow the IDE to auto-insert them for you 2) they let you return
object: Read{Only|Write}Property<R, T>
from a function and have the compiler understand what you want, whereas you need a named class for it to understand if you don't implement these interfaces 3) you can make extension functions on
ReadOnlyProperty
and
ReadWriteProperty
that let you compose delegates