protected void RaiseStateChanged( MediatorState state )
 {
     var handler = StateChanged;
      if ( handler != null )
      {
     handler( this, new MediatorStateChangedEventArgs( state ) );
      }
 }
 public MediatorStateChangedEventArgs( MediatorState state )
 {
     State = state;
 }