Exemple #1
0
        public FluidTemplateEngine(IEnumerable <IFluidExtension> extensions)
        {
            this.extensions = extensions;

            SquidexTemplate.Setup(extensions);
            SquidexTemplate.SetupTypes(extensions);
        }
Exemple #2
0
        public FluidTemplateEngine(IEnumerable <IFluidExtension> extensions)
        {
            Guard.NotNull(extensions, nameof(extensions));

            this.extensions = extensions;

            SquidexTemplate.Setup(extensions);
            SquidexTemplate.SetupTypes(extensions);
        }