Ejemplo n.º 1
0
 public TestDocumentServiceProvider(bool canApplyChange = true, bool supportDiagnostics = true)
 {
     DocumentOperationService = new TestDocumentOperationService()
     {
         CanApplyChange     = canApplyChange,
         SupportDiagnostics = supportDiagnostics
     };
 }
        public TestDocumentServiceProvider(bool canApplyChange = true, bool supportDiagnostics = true, bool supportsMappingImportDirectives = false)
        {
            DocumentOperationService = new TestDocumentOperationService()
            {
                CanApplyChange     = canApplyChange,
                SupportDiagnostics = supportDiagnostics
            };

            SpanMappingService = new TestSpanMappingService(supportsMappingImportDirectives);
        }