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
Properties
Path
[ExcludeFromCodeCoverage]
public string? Path { get; set; }
Property Value
Type
[ExcludeFromCodeCoverage]
public string? Type { get; set; }
Property Value
Methods
Equals(GameMediaFile?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(GameMediaFile? obj)
Parameters
objGameMediaFile
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 GameMediaFile GetCopy()
Returns
GetDiffProperties(GameMediaFile)
public HashSet<string> GetDiffProperties(GameMediaFile target)
Parameters
targetGameMediaFile
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.