class INotify { } class Notifier { private INotify _inotify ; public void connect_inotify (){} public void disconnect_inotify (){} } class Observer { private INotify _inotify ; public void provides_inotify (){} }