Class IconConfig
- Namespace
- Playnite
- Assembly
- Playnite.SDK.dll
A base class for objects of which the properties must be observable.
[Equatable(IgnoreInheritedMembers = true)]
public class IconConfig : ObservableObject, INotifyPropertyChanged, INotifyPropertyChanging, IEquatable<IconConfig>
- Inheritance
-
IconConfig
- Implements
- Inherited Members
Constructors
IconConfig()
public IconConfig()
IconConfig(string, string)
public IconConfig(string type, string path)
Parameters
Fields
ImageFileIconType
public const string ImageFileIconType = "imagefile"
Field Value
NerdFontIconType
public const string NerdFontIconType = "nerdfont"
Field Value
Properties
Path
[ExcludeFromCodeCoverage]
public string? Path { get; set; }
Property Value
Type
[ExcludeFromCodeCoverage]
public string? Type { get; set; }
Property Value
Methods
Equals(IconConfig?)
protected bool Equals(IconConfig? other)
Parameters
otherIconConfig
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetCopy()
public IconConfig GetCopy()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
Operators
operator ==(IconConfig?, IconConfig?)
Indicates whether the object on the left is equal to the object on the right.
public static bool operator ==(IconConfig? left, IconConfig? right)
Parameters
leftIconConfigThe left object
rightIconConfigThe right object
Returns
- bool
true if the objects are equal; otherwise, false.
operator !=(IconConfig?, IconConfig?)
Indicates whether the object on the left is not equal to the object on the right.
public static bool operator !=(IconConfig? left, IconConfig? right)
Parameters
leftIconConfigThe left object
rightIconConfigThe right object
Returns
- bool
true if the objects are not equal; otherwise, false.