Fixing durability type filter in OE (#2043)

* Fixing durability type filter in OE

* Adding doc comment
This commit is contained in:
Aasim Khan
2023-05-05 17:10:09 -07:00
committed by GitHub
parent 46e6b484a3
commit 34d969c6ad
8 changed files with 115 additions and 28 deletions

View File

@@ -102,7 +102,7 @@ namespace Microsoft.SqlTools.ServiceLayer.ObjectExplorer.Contracts
/// <summary>
/// The list of choices for the filter property if the type is choice
/// </summary>
public string[] Choices { get; set; }
public NodeFilterPropertyChoice[] Choices { get; set; }
}
/// <summary>
@@ -154,4 +154,21 @@ namespace Microsoft.SqlTools.ServiceLayer.ObjectExplorer.Contracts
/// </summary>
public JToken Value { get; set; }
}
/// <summary>
/// The choice for the filter property if the type is choice
/// </summary>
public class NodeFilterPropertyChoice
{
/// <summary>
/// The dropdown display value for the choice
/// </summary>
/// <value></value>
public string DisplayName { get; set; }
/// <summary>
/// The value of the choice
/// </summary>
public string Value { get; set; }
}
}