Exemple #1
0
 public Task <Unit> Handle(
     RegisterObserverCommand request,
     CancellationToken cancellationToken
     )
 {
     request.NullCheck(nameof(request));
     _state.Register(
         request.Observer
         );
     return(Unit.Task);
 }