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
Properties
IdValue
[ExcludeFromCodeCoverage]
public string? IdValue { get; set; }
Property Value
TypeId
[ExcludeFromCodeCoverage]
public string? TypeId { get; set; }
Property Value
Methods
Equals(ExternalIdentifier?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(ExternalIdentifier? obj)
Parameters
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 ExternalIdentifier GetCopy()
Returns
GetDiffProperties(ExternalIdentifier)
public HashSet<string> GetDiffProperties(ExternalIdentifier target)
Parameters
targetExternalIdentifier
Returns
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
otherExternalIdentifier
Returns
Matches(ImportableExternalIdentifier)
public bool Matches(ImportableExternalIdentifier importable)
Parameters
importableImportableExternalIdentifier
Returns
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
Returns
operator !=(ExternalIdentifier?, ExternalIdentifier?)
public static bool operator !=(ExternalIdentifier? l, ExternalIdentifier? r)