Table of Contents

Class GameDescription

Namespace
Playnite
Assembly
Playnite.SDK.dll

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

public class GameDescription : LibraryObject, INotifyPropertyChanged, INotifyPropertyChanging, ICopyable<GameDescription>
Inheritance
GameDescription
Implements
Inherited Members

Constructors

GameDescription()

public GameDescription()

GameDescription(string?, GameDescriptionFormat)

public GameDescription(string? text, GameDescriptionFormat format)

Parameters

text string
format GameDescriptionFormat

GameDescription(string, string?, GameDescriptionFormat)

public GameDescription(string id, string? text, GameDescriptionFormat format)

Parameters

id string
text string
format GameDescriptionFormat

Properties

Format

[ExcludeFromCodeCoverage]
public GameDescriptionFormat Format { get; set; }

Property Value

GameDescriptionFormat

Text

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

Property Value

string

Methods

GetCopy()

public GameDescription GetCopy()

Returns

GameDescription

GetDiffProperties(GameDescription)

public HashSet<string> GetDiffProperties(GameDescription target)

Parameters

target GameDescription

Returns

HashSet<string>