Beispiel #1
0
		/// <summary>
		/// Moves the object to the location specified by the MoveLocation property, creating directories as needed.
		/// </summary>
		/// <param name="fileUtility">An instance of an IFileUtilities object</param>
		public void Process(IFileUtilities fileUtility)
		{
			fileUtility.MakeDirs(MoveLocation);
			fileUtility.Move(FileName, MoveLocation);
			
			Log.Info($"{DisplayName} found, moved successfully.");
		}