Table of Contents

Class BeginImportThemeFromUrl.Handler

Namespace
Raytha.Application.Themes.Commands
Assembly
Raytha.Application.dll
public class BeginImportThemeFromUrl.Handler : IRequestHandler<BeginImportThemeFromUrl.Command, CommandResponseDto<ShortGuid>>
Inheritance
BeginImportThemeFromUrl.Handler
Implements
Inherited Members

Constructors

Handler(IBackgroundTaskQueue)

public Handler(IBackgroundTaskQueue taskQueue)

Parameters

taskQueue IBackgroundTaskQueue

Methods

Handle(Command, CancellationToken)

Handles a request

public Task<CommandResponseDto<ShortGuid>> Handle(BeginImportThemeFromUrl.Command request, CancellationToken cancellationToken)

Parameters

request BeginImportThemeFromUrl.Command

The request

cancellationToken CancellationToken

Cancellation token

Returns

Task<CommandResponseDto<ShortGuid>>

Response from the request