summaryrefslogtreecommitdiff
path: root/src/Notepad/Infrastructure/Core
diff options
context:
space:
mode:
authormo <mo.khan@gmail.com>2018-11-04 15:22:16 -0700
committermo <mo.khan@gmail.com>2018-11-04 15:22:16 -0700
commit5ee1f55497a4e30322a56f133f897ecde1612967 (patch)
treebf544e0879234c3623869627d8786776cb19b8e9 /src/Notepad/Infrastructure/Core
initial commit.HEADmaster
Diffstat (limited to 'src/Notepad/Infrastructure/Core')
-rw-r--r--src/Notepad/Infrastructure/Core/ICommand.cs5
-rw-r--r--src/Notepad/Infrastructure/Core/IMapper.cs5
-rw-r--r--src/Notepad/Infrastructure/Core/ISpecification.cs5
3 files changed, 15 insertions, 0 deletions
diff --git a/src/Notepad/Infrastructure/Core/ICommand.cs b/src/Notepad/Infrastructure/Core/ICommand.cs
new file mode 100644
index 0000000..1fadec3
--- /dev/null
+++ b/src/Notepad/Infrastructure/Core/ICommand.cs
@@ -0,0 +1,5 @@
+namespace Notepad.Infrastructure.Core {
+ public interface ICommand {
+ void Execute();
+ }
+} \ No newline at end of file
diff --git a/src/Notepad/Infrastructure/Core/IMapper.cs b/src/Notepad/Infrastructure/Core/IMapper.cs
new file mode 100644
index 0000000..39bad69
--- /dev/null
+++ b/src/Notepad/Infrastructure/Core/IMapper.cs
@@ -0,0 +1,5 @@
+namespace Notepad.Infrastructure.Core {
+ public interface IMapper<Input, Output> {
+ Output MapFrom(Input item);
+ }
+} \ No newline at end of file
diff --git a/src/Notepad/Infrastructure/Core/ISpecification.cs b/src/Notepad/Infrastructure/Core/ISpecification.cs
new file mode 100644
index 0000000..c61d8b9
--- /dev/null
+++ b/src/Notepad/Infrastructure/Core/ISpecification.cs
@@ -0,0 +1,5 @@
+namespace Notepad.Infrastructure.Core {
+ public interface ISpecification<T> {
+ bool IsSatisfiedBy(T item);
+ }
+} \ No newline at end of file