예제 #1
0
 private void UnsubscribeFromEvents(IFavouriteDirectoryViewModel model) =>
 model.MoveRequested -= ModelOnMoveRequested;
 private void RequestMoveTo(IFavouriteDirectoryViewModel target) =>
 MoveRequested.Raise(this, new FavouriteDirectoryMoveRequestedEventArgs(target));
예제 #3
0
 private void SubscribeToEvents(IFavouriteDirectoryViewModel model) =>
 model.MoveRequested += ModelOnMoveRequested;
예제 #4
0
 public FavouriteDirectoryMoveRequestedEventArgs(IFavouriteDirectoryViewModel target)
 {
     Target = target;
 }