Class XsltEngineRegistration
Registration and resolution of the XSLT engine factory, following the same order as every other
pluggable service here: what the context was told, then the DI container, then the default.
public static class XsltEngineRegistration
Inheritance
Methods
AddXsltEngine(IServiceCollection, IXsltEngineFactory)
DI registration: services.AddXsltEngine(new SaxonXsltEngineFactory()).
public static IServiceCollection AddXsltEngine(this IServiceCollection services, IXsltEngineFactory factory)
GetXsltEngineFactory(IRouteContext?)
Resolves the factory a route should compile its stylesheets with.
public static IXsltEngineFactory GetXsltEngineFactory(this IRouteContext? context)
UseXsltEngine(IRouteContext, IXsltEngineFactory)
Registers an XSLT engine factory on a context built without DI:
public static IRouteContext UseXsltEngine(this IRouteContext context, IXsltEngineFactory factory)