Table of Contents

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

type string
path string

Fields

ImageFileIconType

public const string ImageFileIconType = "imagefile"

Field Value

string

NerdFontIconType

public const string NerdFontIconType = "nerdfont"

Field Value

string

Properties

Path

[ExcludeFromCodeCoverage]
public string? Path { get; set; }

Property Value

string

Type

[ExcludeFromCodeCoverage]
public string? Type { get; set; }

Property Value

string

Methods

Equals(IconConfig?)

protected bool Equals(IconConfig? other)

Parameters

other IconConfig

Returns

bool

Equals(object?)

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

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

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

GetCopy()

public IconConfig GetCopy()

Returns

IconConfig

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

left IconConfig

The left object

right IconConfig

The 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

left IconConfig

The left object

right IconConfig

The right object

Returns

bool

true if the objects are not equal; otherwise, false.