Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SimplePropertyBag<TKey>

Type parameters

  • TKey

Hierarchy

  • SimplePropertyBag

Index

Constructors

constructor

Properties

OnChange

Private addedItems

addedItems: TKey[]

Private items

items: Dictionary<TKey, any>

Private modifiedItems

modifiedItems: TKey[]

Private removedItems

removedItems: TKey[]

Accessors

AddedItems

  • get AddedItems(): TKey[]
  • Returns TKey[]

ModifiedItems

  • get ModifiedItems(): TKey[]
  • Returns TKey[]

RemovedItems

  • get RemovedItems(): TKey[]
  • Returns TKey[]

Methods

Changed

  • Changed(): void
  • Returns void

ClearChangeLog

  • ClearChangeLog(): void
  • Returns void

ContainsKey

  • ContainsKey(key: TKey): boolean
  • Parameters

    • key: TKey

    Returns boolean

GetEnumerator

  • GetEnumerator(): any
  • Returns any

InternalAddItemToChangeList

  • InternalAddItemToChangeList(key: TKey, changeList: TKey[]): void
  • Parameters

    • key: TKey
    • changeList: TKey[]

    Returns void

InternalRemoveItem

  • InternalRemoveItem(key: TKey): void
  • Parameters

    • key: TKey

    Returns void

TryGetValue

  • TryGetValue(key: TKey, value: IOutParam<any>): boolean
  • Parameters

    Returns boolean

_getItem

  • _getItem(key: TKey): any
  • Parameters

    • key: TKey

    Returns any

_setItem

  • _setItem(key: TKey, value: any): void
  • Parameters

    • key: TKey
    • value: any

    Returns void

Generated using TypeDoc