Table of Contents

Class ExternalIdentifier

Namespace
Playnite
Assembly
Playnite.SDK.dll

A base class for objects of which the properties must be observable.

public class ExternalIdentifier : ObservableObject, INotifyPropertyChanged, INotifyPropertyChanging, IEquatable<ExternalIdentifier>, ICopyable<ExternalIdentifier>
Inheritance
ExternalIdentifier
Implements
Inherited Members

Constructors

ExternalIdentifier()

public ExternalIdentifier()

ExternalIdentifier(string, string)

public ExternalIdentifier(string typeId, string idValue)

Parameters

typeId string
idValue string

Properties

IdValue

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

Property Value

string

TypeId

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

Property Value

string

Methods

Equals(ExternalIdentifier?)

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

public bool Equals(ExternalIdentifier? obj)

Parameters

obj ExternalIdentifier

Returns

bool

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

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 ExternalIdentifier GetCopy()

Returns

ExternalIdentifier

GetDiffProperties(ExternalIdentifier)

public HashSet<string> GetDiffProperties(ExternalIdentifier target)

Parameters

target ExternalIdentifier

Returns

HashSet<string>

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

Matches(ExternalIdentifier)

public bool Matches(ExternalIdentifier other)

Parameters

other ExternalIdentifier

Returns

bool

Matches(ImportableExternalIdentifier)

public bool Matches(ImportableExternalIdentifier importable)

Parameters

importable ImportableExternalIdentifier

Returns

bool

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

Operators

operator ==(ExternalIdentifier?, ExternalIdentifier?)

public static bool operator ==(ExternalIdentifier? l, ExternalIdentifier? r)

Parameters

l ExternalIdentifier
r ExternalIdentifier

Returns

bool

operator !=(ExternalIdentifier?, ExternalIdentifier?)

public static bool operator !=(ExternalIdentifier? l, ExternalIdentifier? r)

Parameters

l ExternalIdentifier
r ExternalIdentifier

Returns

bool