12 lines
445 B
C#
12 lines
445 B
C#
// Copyright (c) The Geekeey Authors
|
|
// SPDX-License-Identifier: EUPL-1.2
|
|
|
|
namespace Geekeey.Request.Dispatcher.Tests;
|
|
|
|
public class ExplicitGenericScalarHandler<T> : IScalarRequestHandler<ExplicitGenericScalarRequest, string>
|
|
{
|
|
Task<string> IScalarRequestHandler<ExplicitGenericScalarRequest, string>.HandleAsync(ExplicitGenericScalarRequest request, CancellationToken ct)
|
|
{
|
|
return Task.FromResult($"{request.Value}-ExplicitHandled");
|
|
}
|
|
}
|