C# Class Microsoft.VisualStudio.R.Package.DataInspect.WorkspaceVariableProvider

Inheritance: Microsoft.R.Editor.Data.RSessionChangeWatcher, IVariablesProvider
Show file Open project: Microsoft/RTVS

Public Methods

Method Description
GetMemberCount ( string variableName ) : int

Given variable name determines number of members

GetMembers ( string variableName, int maxCount ) : IReadOnlyCollection

Given variable name returns variable members adhering to specified criteria. Last member name may be partial such as abc$def$g

Protected Methods

Method Description
SessionMutated ( ) : void

Private Methods

Method Description
TrimLeadingSelector ( string name ) : string
TrimToTrailingSelector ( string name ) : string
UpdateList ( ) : System.Threading.Tasks.Task
WorkspaceVariableProvider ( IRInteractiveWorkflowProvider workflowProvider ) : System

Method Details

GetMemberCount() public method

Given variable name determines number of members
public GetMemberCount ( string variableName ) : int
variableName string Variable name or null if global scope
return int

GetMembers() public method

Given variable name returns variable members adhering to specified criteria. Last member name may be partial such as abc$def$g
public GetMembers ( string variableName, int maxCount ) : IReadOnlyCollection
variableName string /// Variable name such as abc$def$g. 'g' may be partially typed /// in which case providers returns members of 'def' filtered to 'g' prefix. ///
maxCount int Max number of members to return
return IReadOnlyCollection

SessionMutated() protected method

protected SessionMutated ( ) : void
return void