示例#1
0
        public CompletionProvider(IBackendContext backendContext, LanguageContext languageContext)
        {
            _languageContext    = languageContext;
            _backendContext     = backendContext;
            _snippetsCollection = AppContext.Resolve <ISnippetsCollection>();

            _runspace = RunspaceFactory.CreateRunspace();
            _runspace.Open();
        }
        public CompletionProvider(IBackendContext backendContext, LanguageContext languageContext)
        {
            _languageContext = languageContext;
            _backendContext = backendContext;
            _snippetsCollection = AppContext.Resolve<ISnippetsCollection>();

            _runspace = RunspaceFactory.CreateRunspace();
            _runspace.Open();
        }
示例#3
0
 public SnippetsAgent()
 {
     _snippetsCollection = AppContext.Resolve <ISnippetsCollection>();
 }
示例#4
0
 public SnippetsAgent()
 {
     _snippetsCollection = AppContext.Resolve<ISnippetsCollection>();
 }