This commit is contained in:
Даниил Заикин
2026-06-17 20:44:53 +03:00
parent 9d153773c2
commit b133e7c656
1880 changed files with 244545 additions and 0 deletions
@@ -0,0 +1,20 @@
using System;
namespace QFSW.QC.Parsers
{
public class NullableParser : GenericQcParser
{
protected override Type GenericType => typeof(Nullable<>);
public override object Parse(string value, Type type)
{
if (value == "null")
{
return null;
}
Type innerType = type.GetGenericArguments()[0];
return ParseRecursive(value, innerType);
}
}
}