Table of Contents

Class DialogueDownServiceCollectionExtensions

Namespace
Microsoft.Extensions.DependencyInjection
Assembly
DialogueDown.dll

Registration extensions that add the DialogueDown compiler and its stages to a dependency injection container.

public static class DialogueDownServiceCollectionExtensions
Inheritance
DialogueDownServiceCollectionExtensions
Inherited Members

Methods

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.