Changes
Page history
Update Osztály diagram: add generic-less BaseCommand
authored
Feb 26, 2022
by
Sárközi Gergely János
Show whitespace changes
Inline
Side-by-side
Osztály-diagram.md
View page @
f912f0c7
...
...
@@ -277,13 +277,26 @@ class CommandDispatcher {
}
abstract BaseCommand<T : ICommandResult>
CommandDispatcher --> BaseCommand
abstract "BaseCommand<BiCommandResult>"
interface ICommandResult {
+ IsSuccess() : bool
}
class BiCommandResult <<sealed>> {
+ Success : BiCommandResult
+ Failure : BiCommandResult
}
CommandDispatcher -d-> BaseCommand
CommandDispatcher -d-> ICommandResult
BaseCommand --> ICommandResult
"BaseCommand<BiCommandResult>" --|> BaseCommand
"BaseCommand<BiCommandResult>" --> BiCommandResult
BiCommandResult --|> ICommandResult
}
```
...
...
...
...