Class GameNote
- Namespace
- Playnite
- Assembly
- Playnite.SDK.dll
A base class for objects of which the properties must be observable.
public class GameNote : LibraryObject, INotifyPropertyChanged, INotifyPropertyChanging, ICopyable<GameNote>
- Inheritance
-
GameNote
- Implements
- Inherited Members
Constructors
GameNote()
public GameNote()
GameNote(string?, GameNoteFormat)
public GameNote(string? text, GameNoteFormat format)
Parameters
textstringformatGameNoteFormat
GameNote(string, string?, GameNoteFormat)
public GameNote(string id, string? text, GameNoteFormat format)
Parameters
idstringtextstringformatGameNoteFormat
Properties
Format
[ExcludeFromCodeCoverage]
public GameNoteFormat Format { get; set; }
Property Value
Text
[ExcludeFromCodeCoverage]
public string? Text { get; set; }
Property Value
Methods
GetCopy()
public GameNote GetCopy()
Returns
GetDiffProperties(GameNote)
public HashSet<string> GetDiffProperties(GameNote target)
Parameters
targetGameNote