Show / Hide Table of Contents

Class CustomParameter

An alternative implementation of Phoenix.Views.Parameters.ParameterInfo for customizable UI controls.

Inheritance
object
BindableBase
CustomParameter
Implements
INotifyPropertyChanged
IEditableParameter
IParameter
Inherited Members
BindableBase.SetProperty<T>(ref T, T, string)
BindableBase.SetProperty<T>(ref T, T, Action, string)
BindableBase.RaisePropertyChanged(string)
BindableBase.OnPropertyChanged(PropertyChangedEventArgs)
BindableBase.PropertyChanged
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Phoenix.BotBrain.Parameters
Assembly: Phoenix.Plugin.BotBrain.Parameters.dll
Syntax
public class CustomParameter : BindableBase, INotifyPropertyChanged, IEditableParameter, IParameter

Properties

View Source

Comment

Gets the comment for the parameter.

Declaration
public string? Comment { get; set; }
Property Value
Type Description
string
View Source

CustomDisplayType

Gets or sets the custom display type specified in metadata.

Declaration
public string? CustomDisplayType { get; set; }
Property Value
Type Description
string
View Source

DefaultValue

Gets the default parameter value.

Declaration
public object? DefaultValue { get; }
Property Value
Type Description
object
View Source

DisplayName

Gets the display name for the parameter.

Declaration
public string? DisplayName { get; set; }
Property Value
Type Description
string
View Source

DisplayType

Gets the display type for the parameter.

Declaration
public ParameterDisplayType DisplayType { get; }
Property Value
Type Description
ParameterDisplayType
View Source

Name

Gets the name of the parameter.

Declaration
public string? Name { get; set; }
Property Value
Type Description
string
View Source

Value

Gets or sets the value of the parameter.

Declaration
public object? Value { get; set; }
Property Value
Type Description
object
View Source

ValueType

Gets the expected type of the parameter value.

Declaration
public Type? ValueType { get; }
Property Value
Type Description
Type

Methods

View Source

UpdateValue(Action<object?>)

Updates the property value and raises a property changed event.

Declaration
public void UpdateValue(Action<object?> change)
Parameters
Type Name Description
Action<object> change

Updates the value.

Implements

INotifyPropertyChanged
Phoenix.Views.Parameters.IEditableParameter
Phoenix.Views.Parameters.IParameter

Extension Methods

INotifyPropertyChangedExtensions.OnPropertyChanged(INotifyPropertyChanged, string, Action)
INotifyPropertyChangedExtensions.OnPropertyChanged(INotifyPropertyChanged, string, Action<object?, string>)
INotifyPropertyChangedExtensions.OnPropertyChangedUntil(INotifyPropertyChanged, string, Func<bool>)
INotifyPropertyChangedExtensions.OnPropertyChangedUntil(INotifyPropertyChanged, string, Func<object?, string, bool>)
  • View Source
In this article
Back to top Generated by DocFX