Method AddDialogueDown
- Namespace
- Microsoft.Extensions.DependencyInjection
- Assembly
- DialogueDown.dll
AddDialogueDown(IServiceCollection, CompilerOptions?)
Registers the default compiler stages and the IScriptCompiler facade
as singletons, configured by options (the unconfigured
Default when null). Each stage is registered with
TryAdd, so registering your own implementation of a stage before calling this
swaps just that stage while the rest keep their defaults.
public static IServiceCollection AddDialogueDown(this IServiceCollection services, CompilerOptions? options = null)
Parameters
servicesIServiceCollectionoptionsCompilerOptions