public void ApplyChange(DirectoryInfo destination) { Guard.NotNull(() => destination, destination); DestinationFile = new FileInfo(Path.Combine(destination.FullName, Class, File.Name)); MoveRequest?.Invoke(this, EventArgs.Empty); }
/// <summary> /// Raises the MoveRequest event. /// </summary> /// <param name="e">A <see cref="PlayerMoveEventArgs"/> containg data event.</param> protected virtual void OnMoveRequest(PlayerMoveEventArgs e) { MoveRequest?.Invoke(this, e); }