Class IServiceProviderExtensions
Extension methods for IServiceProvider.
Inherited Members
Namespace: Phoenix.BotBrain.Controls
Assembly: Phoenix.Plugin.BotBrain.Parameters.dll
Syntax
public static class IServiceProviderExtensions
Methods
View SourceCreateParameterEditor(IServiceProvider, ICollection<IParameter>, IDictionary<IParameter, string>?)
Creates the multi-parameter editor view model.
Declaration
public static MultiParameterEditorViewModel CreateParameterEditor(this IServiceProvider services, ICollection<IParameter> parameters, IDictionary<IParameter, string>? groups = null)
Parameters
Type | Name | Description |
---|---|---|
IServiceProvider | services | The service provider being extended. |
ICollection<IParameter> | parameters | A collection of possible parameters. |
IDictionary<IParameter, string> | groups | An optional mapping between parameters and group names. |
Returns
Type | Description |
---|---|
MultiParameterEditorViewModel | The view model. |