Table of Contents

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

name string

Platform(string, string)

public Platform(string id, string name)

Parameters

id string
name string

Properties

Background

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

Property Value

string

Cover

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

Property Value

string

Icon

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

Property Value

string

SpecificationId

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

Property Value

string

Methods

GetCopy()

public Platform GetCopy()

Returns

Platform

GetDiffProperties(Platform)

public HashSet<string> GetDiffProperties(Platform target)

Parameters

target Platform

Returns

HashSet<string>