Table of Contents

Class ItemUpdatedEventArgs<TItem>

Namespace
Playnite.SDK
Assembly
Playnite.SDK.dll

Represents arguments for collection update events.

public class ItemUpdatedEventArgs<TItem> : EventArgs where TItem : DatabaseObject

Type Parameters

TItem
Inheritance
ItemUpdatedEventArgs<TItem>
Inherited Members

Constructors

ItemUpdatedEventArgs(IEnumerable<ItemUpdateEvent<TItem>>)

Creates new instance of ItemUpdatedEventArgs.

public ItemUpdatedEventArgs(IEnumerable<ItemUpdateEvent<TItem>> updatedItems)

Parameters

updatedItems IEnumerable<ItemUpdateEvent<TItem>>

Update events list.

ItemUpdatedEventArgs(TItem, TItem)

Creates new instance of ItemUpdatedEventArgs.

public ItemUpdatedEventArgs(TItem oldData, TItem newData)

Parameters

oldData TItem

Old item state.

newData TItem

New item state.

Properties

UpdatedItems

Gets or sets list of update events.

public List<ItemUpdateEvent<TItem>> UpdatedItems { get; set; }

Property Value

List<ItemUpdateEvent<TItem>>