コード例 #1
0
 public TestDocumentServiceProvider(bool canApplyChange = true, bool supportDiagnostics = true)
 {
     DocumentOperationService = new TestDocumentOperationService()
     {
         CanApplyChange     = canApplyChange,
         SupportDiagnostics = supportDiagnostics
     };
 }
コード例 #2
0
        public TestDocumentServiceProvider(bool canApplyChange = true, bool supportDiagnostics = true, bool supportsMappingImportDirectives = false)
        {
            DocumentOperationService = new TestDocumentOperationService()
            {
                CanApplyChange     = canApplyChange,
                SupportDiagnostics = supportDiagnostics
            };

            SpanMappingService = new TestSpanMappingService(supportsMappingImportDirectives);
        }