Show / Hide Table of Contents

Class ItemInfo

Contains information to display an item in a sorted list.

Inheritance
object
BindableBase
ItemInfo
ConsiderationInfo
RequirementInfo
UrgeInfo
Implements
INotifyPropertyChanged
IEquatable<ItemInfo>
IItemInfo
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)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: Phoenix.BotBrain
Assembly: Phoenix.Plugin.BotBrain.Lists.dll
Syntax
public class ItemInfo : BindableBase, INotifyPropertyChanged, IEquatable<ItemInfo>, IItemInfo

Constructors

View Source

ItemInfo()

Initializes a new instance of the ItemInfo class.

Declaration
public ItemInfo()

Properties

View Source

DisplayName

Gets or sets the display name.

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

Name

Gets or sets the name.

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

Methods

View Source

Equals(ItemInfo?)

Indicates whether the current object is equal to another object of the same type.

Declaration
public bool Equals(ItemInfo? other)
Parameters
Type Name Description
ItemInfo other

An object to compare with this object.

Returns
Type Description
bool

true if the current object is equal to the other parameter; otherwise, false.

View Source

Equals(object?)

Determines whether the specified object is equal to the current object.

Declaration
public override bool Equals(object? obj)
Parameters
Type Name Description
object obj

The object to compare with the current object.

Returns
Type Description
bool

true if the specified object is equal to the current object; otherwise, false.

Overrides
object.Equals(object)
View Source

GetHashCode()

Serves as the default hash function.

Declaration
public override int GetHashCode()
Returns
Type Description
int

A hash code for the current object.

Overrides
object.GetHashCode()
View Source

ToString()

Returns a string that represents the current object.

Declaration
public override string ToString()
Returns
Type Description
string

A string that represents the current object.

Overrides
object.ToString()

Implements

INotifyPropertyChanged
IEquatable<T>
IItemInfo

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