Show / Hide Table of Contents

Class IServiceProviderExtensions

Extension methods for IServiceProvider.

Inheritance
object
IServiceProviderExtensions
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Phoenix.BotBrain.Controls
Assembly: Phoenix.Plugin.BotBrain.Parameters.dll
Syntax
public static class IServiceProviderExtensions

Methods

View Source

CreateParameterEditor(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.

  • View Source
In this article
Back to top Generated by DocFX