12 lines
380 B
C#
12 lines
380 B
C#
|
|
// Copyright (c) The Geekeey Authors
|
||
|
|
// SPDX-License-Identifier: EUPL-1.2
|
||
|
|
|
||
|
|
namespace Geekeey.Request.Tests;
|
||
|
|
|
||
|
|
public class ScalarTestWrapperHandler<T> : IScalarRequestHandler<ScalarTestWrapperRequest<T>, string>
|
||
|
|
{
|
||
|
|
public Task<string> HandleAsync(ScalarTestWrapperRequest<T> request, CancellationToken cancellationToken)
|
||
|
|
{
|
||
|
|
return Task.FromResult($"Handled-{request.Item}");
|
||
|
|
}
|
||
|
|
}
|