This commit is contained in:
Tyrrrz
2024-08-12 03:36:14 +03:00
parent a813436577
commit 545c7c3fbd

View File

@@ -23,6 +23,11 @@ public abstract class CommandInputSchema(
internal abstract string FormattedIdentifier { get; }
/// <summary>
/// CLR property to which this input is bound.
/// </summary>
public PropertyBinding Property { get; } = property;
internal bool IsSequence { get; } =
property.Type != typeof(string)
&& property.Type.TryGetEnumerableUnderlyingType() is not null;
@@ -32,11 +37,6 @@ public abstract class CommandInputSchema(
/// </summary>
public string? Description { get; } = description;
/// <summary>
/// CLR property to which this input is bound.
/// </summary>
public PropertyBinding Property { get; } = property;
/// <summary>
/// Binding converter used for this input.
/// </summary>