update filebrowser expand contract and methods (#500)

This commit is contained in:
Kate Shin
2017-10-16 17:05:02 -07:00
committed by GitHub
parent 5d11654a10
commit e52d95cebf
5 changed files with 46 additions and 42 deletions

View File

@@ -17,9 +17,14 @@ namespace Microsoft.SqlTools.ServiceLayer.FileBrowser.Contracts
public string OwnerUri;
/// <summary>
/// Expanded node
/// Expand path
/// </summary>
public FileTreeNode ExpandedNode;
public string ExpandPath;
/// <summary>
/// Children nodes
/// </summary>
public FileTreeNode[] Children;
/// <summary>
/// Result of the operation

View File

@@ -23,7 +23,7 @@ namespace Microsoft.SqlTools.ServiceLayer.FileBrowser.Contracts
/// <summary>
/// List of children nodes
/// </summary>
public List<FileTreeNode> Children { get; private set; }
public List<FileTreeNode> Children { get; set; }
// Indicates if the node is expanded, applicable to a folder.
public bool IsExpanded { get; set; }