diff options
Diffstat (limited to 'src/Notepad/Infrastructure/Core')
| -rw-r--r-- | src/Notepad/Infrastructure/Core/ICommand.cs | 5 | ||||
| -rw-r--r-- | src/Notepad/Infrastructure/Core/IMapper.cs | 5 | ||||
| -rw-r--r-- | src/Notepad/Infrastructure/Core/ISpecification.cs | 5 |
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 |
