Exemple #1
0
 internal MiddlewareBase(LanguageManager languageManager, IMiddlewareOptions options, ImmutableExtensionServices extensions)
 {
     _options         = options;
     _extensions      = extensions;
     _languageManager = languageManager;
     _handlers        = CreateHandlersIndexedByCommandId();
 }
Exemple #2
0
 protected MiddlewareBase(IMiddlewareOptions options, ImmutableExtensionServices extensions)
     : this(new LanguageManager(Argument.NotNull(nameof(options), options)), options, extensions)
 {
 }