public DslParserTests()
        {
            Assembly.Load("Rhetos.Dsl.DefaultConcepts");
            serviceProvider = TestCommon.CreateTestServiceProvider();

            rhetosAppContext = serviceProvider.GetService <RhetosAppContext>();
            rhetosAppContext.InitializeFromCurrentDomain();
        }
 public RhetosDocument(RhetosAppContext rhetosAppContext, ConceptQueries conceptQueries, ILoggerFactory logFactory, Uri documentUri)
 {
     this.rhetosAppContext = rhetosAppContext;
     this.conceptQueries   = conceptQueries;
     this.logFactory       = logFactory;
     this.DocumentUri      = documentUri;
     UpdateText("");
 }
Esempio n. 3
0
 public ServerEventHandler(RhetosAppContext rhetosContext, ILogger <ServerEventHandler> log)
 {
     this.rhetosContext = rhetosContext;
     this.log           = log;
 }
 public CodeAnalysisRun(TextDocument textDocument, RhetosAppContext rhetosAppContext, ILoggerFactory logFactory)
 {
     this.rhetosAppContext  = rhetosAppContext;
     this.fullTextDocument  = textDocument;
     this.rhetosLogProvider = new RhetosNetCoreLogProvider(logFactory);
 }