This commit is contained in:
Zel
2025-02-23 18:47:21 +08:00
parent eaaffeeccb
commit e46a7ca31c
104 changed files with 2630 additions and 2516 deletions

View File

@@ -2,27 +2,32 @@
{
public class OrdinalParameter
{
public string Value { get; set; }
/// <summary>
/// Has been matched to a prototype parameter?
///
/// </summary>
public bool IsMatched { get; set; } = false;
/// <summary>
/// If matched to a prototype parameter, this is the name of the parameter.
/// </summary>
public string ParameterName { get; set; } = string.Empty;
/// <param name="value"></param>
public OrdinalParameter(string value)
{
Value = value;
IsMatched = false;
ParameterName = string.Empty;
}
public string Value { get; set; }
/// <summary>
///
/// </summary>
public bool IsMatched { get; set; }
/// <summary>
///
/// </summary>
public string ParameterName { get; set; }
public void AssociateWithPrototypeParam(string paramName)
{
IsMatched = true;
ParameterName = paramName;
}
}
}
}