Table of Contents

Class WebLink

Namespace
Playnite
Assembly
Playnite.SDK.dll

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

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

Constructors

public WebLink()
public WebLink(string typeId, string url)

Parameters

typeId string
url string

Properties

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

Property Value

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

Property Value

string

Methods

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

public bool Equals(WebLink? obj)

Parameters

obj WebLink

Returns

bool

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

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.

public WebLink GetCopy()

Returns

WebLink
public HashSet<string> GetDiffProperties(WebLink target)

Parameters

target WebLink

Returns

HashSet<string>

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

public bool Matches(ImportableWebLink importable)

Parameters

importable ImportableWebLink

Returns

bool
public bool Matches(WebLink other)

Parameters

other WebLink

Returns

bool

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

Operators

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

Parameters

l WebLink
r WebLink

Returns

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

Parameters

l WebLink
r WebLink

Returns

bool