Пример #1
0
        public DocumentPostReadNormalizer(IDocumentSchemaNormalizer documentNormalizer)
        {
            if (documentNormalizer == null)
            {
                throw new ArgumentNullException(nameof(documentNormalizer));
            }

            this.documentNormalizer = documentNormalizer;
        }
Пример #2
0
        public GenericDocumentTaggerWithNormalizationCommand(TTagger tagger, IDocumentSchemaNormalizer documentNormalizer)
        {
            if (tagger == null)
            {
                throw new ArgumentNullException(nameof(tagger));
            }

            if (documentNormalizer == null)
            {
                throw new ArgumentNullException(nameof(documentNormalizer));
            }

            this.tagger             = tagger;
            this.documentNormalizer = documentNormalizer;
        }
Пример #3
0
        public DocumentPreWriteNormalizer(IDocumentSchemaNormalizer documentNormalizer, IDocumentFinalFormatter documentFinalFormatter)
        {
            if (documentNormalizer == null)
            {
                throw new ArgumentNullException(nameof(documentNormalizer));
            }

            if (documentFinalFormatter == null)
            {
                throw new ArgumentNullException(nameof(documentFinalFormatter));
            }

            this.documentNormalizer     = documentNormalizer;
            this.documentFinalFormatter = documentFinalFormatter;
        }
Пример #4
0
 public TagLowerTaxaInItalicCommand(ILowerTaxaInItalicTagger tagger, IDocumentSchemaNormalizer documentNormalizer)
     : base(tagger, documentNormalizer)
 {
 }
 public TagHigherTaxaCommand(IHigherTaxaTagger tagger, IDocumentSchemaNormalizer documentNormalizer)
     : base(tagger, documentNormalizer)
 {
 }