Class ItemInfo
Contains information to display an item in a sorted list.
Inherited Members
Namespace: Phoenix.BotBrain
Assembly: Phoenix.Plugin.BotBrain.Lists.dll
Syntax
public class ItemInfo : BindableBase, INotifyPropertyChanged, IEquatable<ItemInfo>, IItemInfo
Constructors
View SourceItemInfo()
Initializes a new instance of the ItemInfo class.
Declaration
public ItemInfo()
Properties
View SourceDisplayName
Gets or sets the display name.
Declaration
public string? DisplayName { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Gets or sets the name.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
View SourceEquals(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 |
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
View SourceGetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code for the current object. |
Overrides
View SourceToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string that represents the current object. |