Esempio n. 1
0
 /// <summary>
 /// Initialized function index and starts R data help session
 /// that is used to get RD documentation on functions.
 /// </summary>
 public static void Initialize()
 {
     if (_functionRdDataProvider == null)
     {
         _functionRdDataProvider = EditorShell.Current.ExportProvider.GetExportedValue <IFunctionRdDataProvider>();
     }
 }
Esempio n. 2
0
 public static void Terminate()
 {
     if (_functionRdDataProvider != null)
     {
         _functionRdDataProvider.Dispose();
         _functionRdDataProvider = null;
     }
 }
Esempio n. 3
0
 public FunctionIndex(IServiceContainer services, IFunctionRdDataProvider rdDataProfider, IIntellisenseRSession host)
 {
     Services = services;
     _functionRdDataProvider = rdDataProfider;
     _host = host;
 }
Esempio n. 4
0
 public FunctionIndex(ICoreShell coreShell, IFunctionRdDataProvider rdDataProfider, IIntellisenseRSession host)
 {
     _coreShell = coreShell;
     _functionRdDataProvider = rdDataProfider;
     _host = host;
 }
Esempio n. 5
0
 public FunctionIndex(ICoreShell coreShell, IFunctionRdDataProvider rdDataProfider, IIntellisenseRSession host) {
     _coreShell = coreShell;
     _functionRdDataProvider = rdDataProfider;
     _host = host;
 }
Esempio n. 6
0
 public static void Terminate() {
     if(_functionRdDataProvider != null) {
         _functionRdDataProvider.Dispose();
         _functionRdDataProvider = null;
     }
 }
Esempio n. 7
0
 /// <summary>
 /// Initialized function index and starts R data help session
 /// that is used to get RD documentation on functions.
 /// </summary>
 public static void Initialize() {
     if (_functionRdDataProvider == null) {
         _functionRdDataProvider = EditorShell.Current.ExportProvider.GetExportedValue<IFunctionRdDataProvider>();
     }
 }