Welcome to mirror list, hosted at ThFree Co, Russian Federation.

UpperCaseParameterTransform.cs « TestObjects « UnitTests « test « Routing « Http « src - github.com/dotnet/aspnetcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 072e823180152796b701c9c621c01a754ec19e15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

namespace Microsoft.AspNetCore.Routing.TestObjects;

public class UpperCaseParameterTransform : IOutboundParameterTransformer
{
    public string TransformOutbound(object value)
    {
        return value?.ToString()?.ToUpperInvariant();
    }
}