Class Platform
- Namespace
- Playnite
- Assembly
- Playnite.SDK.dll
A base class for objects of which the properties must be observable.
public class Platform : LibraryObject, INotifyPropertyChanged, INotifyPropertyChanging, ICopyable<Platform>
- Inheritance
-
Platform
- Implements
- Inherited Members
Constructors
Platform()
public Platform()
Platform(string)
public Platform(string name)
Parameters
namestring
Platform(string, string)
public Platform(string id, string name)
Parameters
Properties
Background
[ExcludeFromCodeCoverage]
public string? Background { get; set; }
Property Value
Cover
[ExcludeFromCodeCoverage]
public string? Cover { get; set; }
Property Value
Icon
[ExcludeFromCodeCoverage]
public string? Icon { get; set; }
Property Value
SpecificationId
[ExcludeFromCodeCoverage]
public string? SpecificationId { get; set; }
Property Value
Methods
GetCopy()
public Platform GetCopy()
Returns
GetDiffProperties(Platform)
public HashSet<string> GetDiffProperties(Platform target)
Parameters
targetPlatform