mirror of
https://git.neonteam.dev/amizing/FreeSR.git
synced 2025-03-12 03:36:21 -04:00
13 lines
330 B
C#
13 lines
330 B
C#
namespace FreeSR.Shared.Command.Convert
|
|
{
|
|
[CommandParameterConverter(typeof(string))]
|
|
public class StringCommandParameterConverter : ICommandParameterConverter
|
|
{
|
|
public bool TryConvert(string parameter, out object result)
|
|
{
|
|
result = parameter;
|
|
return true;
|
|
}
|
|
}
|
|
}
|