Esempio n. 1
0
        public DocumentPostReadNormalizer(IDocumentSchemaNormalizer documentNormalizer)
        {
            if (documentNormalizer == null)
            {
                throw new ArgumentNullException(nameof(documentNormalizer));
            }

            this.documentNormalizer = documentNormalizer;
        }
Esempio n. 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;
        }
Esempio n. 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;
        }
Esempio n. 4
0
 public TagLowerTaxaInItalicCommand(ILowerTaxaInItalicTagger tagger, IDocumentSchemaNormalizer documentNormalizer)
     : base(tagger, documentNormalizer)
 {
 }
 public TagHigherTaxaCommand(IHigherTaxaTagger tagger, IDocumentSchemaNormalizer documentNormalizer)
     : base(tagger, documentNormalizer)
 {
 }