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
WebLink()
public WebLink()
WebLink(string, string)
public WebLink(string typeId, string url)
Parameters
Properties
TypeId
[ExcludeFromCodeCoverage]
public string? TypeId { get; set; }
Property Value
Url
[ExcludeFromCodeCoverage]
public string? Url { get; set; }
Property Value
Methods
Equals(WebLink?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(WebLink? obj)
Parameters
objWebLink
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 WebLink GetCopy()
Returns
GetDiffProperties(WebLink)
public HashSet<string> GetDiffProperties(WebLink target)
Parameters
targetWebLink
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
Matches(ImportableWebLink)
public bool Matches(ImportableWebLink importable)
Parameters
importableImportableWebLink
Returns
Matches(WebLink)
public bool Matches(WebLink other)
Parameters
otherWebLink
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 ==(WebLink?, WebLink?)
public static bool operator ==(WebLink? l, WebLink? r)
Parameters
Returns
operator !=(WebLink?, WebLink?)
public static bool operator !=(WebLink? l, WebLink? r)