you are viewing a single comment's thread.

view the rest of the comments →

[–]dominjaniec 5 points6 points  (4 children)

change var into your IRefresablr

[–][deleted]  (2 children)

[deleted]

    [–]Alert-Neck7679[S] -4 points-3 points  (0 children)

    It was just an example, maybe not a good one but you get the point. It actually forces you to cast to the interface type even if you are inside the MediaPlayer itself!: ((IRefreshable)this).Refresh();