mirror of
https://github.com/Tyrrrz/CliFx.git
synced 2025-10-25 15:19:17 +00:00
16 lines
397 B
C#
16 lines
397 B
C#
using CliFx.Attributes;
|
|
|
|
namespace CliFx.Tests.Commands.Invalid
|
|
{
|
|
[Command]
|
|
public class InvalidCustomConverterParameterCommand : SelfSerializeCommandBase
|
|
{
|
|
[CommandParameter(0, Converter = typeof(Converter))]
|
|
public string? Param { get; set; }
|
|
|
|
public class Converter
|
|
{
|
|
public object ConvertFrom(string value) => value;
|
|
}
|
|
}
|
|
} |