Open raz789 opened 3 months ago
I have the following command handler:
public class GetWorldEventsCommandHandler<T> : IRequestHandler<GetWorldEventsQuery, IWorldEventEntity> where T : IWorldEventEntity
Is there anyway to register the above for a specific implementation? e.g. T is ContinentWorldEvent
I have the following command handler:
public class GetWorldEventsCommandHandler<T> : IRequestHandler<GetWorldEventsQuery, IWorldEventEntity> where T : IWorldEventEntity
Is there anyway to register the above for a specific implementation? e.g. T is ContinentWorldEvent