summaryrefslogtreecommitdiff
path: root/src/Notepad/Tasks/Stubs/StubDocumentTasks.cs
blob: cc08542bfaa697b9533f86162b51252eefbd12c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using Notepad.Domain.FileSystem;
using Notepad.Infrastructure.Extensions;

namespace Notepad.Tasks.Stubs {
    public class StubDocumentTasks : IDocumentTasks {
        public void SaveActiveDocumentTo(IFilePath pathToSaveTheActiveDocumentTo) {
            pathToSaveTheActiveDocumentTo
                .LogInformational("Save document to {0}", pathToSaveTheActiveDocumentTo.RawPathToFile());
        }

        public bool HasAPathToSaveToBeenSpecified() {
            return false;
        }

        public void SaveTheActiveDocument() {
            this.LogInformational("Save the active document please...");
        }
    }
}