Table of Contents

Class GameMediaFile

Namespace
Playnite
Assembly
Playnite.SDK.dll

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

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

Constructors

GameMediaFile()

public GameMediaFile()

GameMediaFile(string?, string?)

public GameMediaFile(string? type, string? path)

Parameters

type string
path string

Properties

Path

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

Property Value

string

Type

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

Property Value

string

Methods

Equals(GameMediaFile?)

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

public bool Equals(GameMediaFile? obj)

Parameters

obj GameMediaFile

Returns

bool

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

Equals(object?)

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.

GetCopy()

public GameMediaFile GetCopy()

Returns

GameMediaFile

GetDiffProperties(GameMediaFile)

public HashSet<string> GetDiffProperties(GameMediaFile target)

Parameters

target GameMediaFile

Returns

HashSet<string>

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.