public static void RegisterConverter(WordConverterSymbol converterSymbol, Func<WordTemplateEntity, Entity, byte[], byte[]> converter)
 {
     Converters.Add(converterSymbol, converter);
 }
Exemplo n.º 2
0
        public static void RegisterConverter(WordConverterSymbol converterSymbol, Func<WordContext, byte[], byte[]> converter)
        {
            if (converterSymbol == null)
                throw new ArgumentNullException(nameof(converterSymbol));

            Converters.Add(converterSymbol, converter);
        }