Constructors

Properties

options: Required<StorageAccessorOptions>
storage: IStorage

Methods

  • Returns this

  • Returns this

  • Type Parameters

    Parameters

    • key: string
    • value: undefined | null | S
    • Optionalopt: { clone?: boolean }

    Returns this

  • Type Parameters

    • V = unknown

    Parameters

    • key: string
    • value: undefined | null | V[]
    • Optionalopt: StorageAccessorSetArrayOptions

    Returns this

  • Parameters

    • key: string
    • value: undefined | null | string

    Returns this

  • Parameters

    • key: string
    • value: undefined | null | boolean

    Returns this

  • Parameters

    • key: string
    • value: undefined | null | string

    Returns this

  • Parameters

    • key: string
    • value: undefined | null | string[]
    • Optionalopt: StorageAccessorSetArrayOptions

    Returns this

  • Parameters

    • key: string
    • value: undefined | null | string

    Returns this

  • Parameters

    • key: string
    • value: undefined | null | string[]
    • Optionalopt: StorageAccessorSetArrayOptions

    Returns this

  • Parameters

    • key: string
    • value: undefined | null | number

    Returns this

  • Parameters

    • key: string
    • value: undefined | null | number[]
    • Optionalopt: StorageAccessorSetArrayOptions

    Returns this

  • Parameters

    • key: string
    • enumeration: object
    • value: undefined | null | number
    • Optionaloptions: { lowerCase?: boolean }

    Returns this

  • Parameters

    • key: string
    • value: undefined | null | number

    Returns this

  • Parameters

    • key: string
    • value: undefined | null | number[]
    • Optionalopt: StorageAccessorSetArrayOptions

    Returns this

  • Parameters

    • key: string
    • value: undefined | null | string

    Returns this

  • Parameters

    • key: string
    • value: undefined | null | string[]
    • Optionalopt: StorageAccessorSetArrayOptions

    Returns this

  • Parameters

    • key: string
    • value: undefined | null | number

    Returns this

  • Parameters

    • key: string
    • value: undefined | null | number[]
    • Optionalopt: StorageAccessorSetArrayOptions

    Returns this

  • Parameters

    • key: string
    • value: undefined | null | number

    Returns this

  • Parameters

    • key: string
    • value: undefined | null | number[]
    • Optionalopt: StorageAccessorSetArrayOptions

    Returns this

  • Type Parameters

    • T = unknown

    Parameters

    Returns this

  • Type Parameters

    • T = unknown

    Parameters

    • key: string
    • m: undefined | null | Map<string, T>
    • OptionalitemFactory: (x: T) => IStorage | IStorageArray
    • Optionalopt: StorageAccessorSetArrayOptions

    Returns this

  • Parameters

    • obj: unknown

    Returns this

  • Parameters

    • key: string
    • value: undefined | null | string

    Returns this

  • Parameters

    • key: string
    • value: undefined | null | string[]
    • Optionalopt: StorageAccessorSetArrayOptions

    Returns this

  • Type Parameters

    • T

    Parameters

    • key: string
    • Optionalopt: StorageAccessorGetOptions & { keepTypedField?: boolean }

    Returns null | T

  • Type Parameters

    Parameters

    • key: string
    • OptionalitemFactory: (storage: S, i: number) => T
    • Optionalopt: StorageAccessorGetArrayOptions

    Returns null | T[]

  • Parameters

    • key: string

    Returns null | string

  • Parameters

    • key: string
    • val: string = ''

    Returns null | string

  • Parameters

    • key: string

    Returns null | boolean

  • Parameters

    • key: string

    Returns null | boolean

  • Parameters

    • key: string
    • val: boolean = false

    Returns boolean

  • Parameters

    • key: string
    • val: boolean = false

    Returns boolean

  • Parameters

    • key: string

    Returns null | string

  • Parameters

    • key: string
    • Optionalopt: StorageAccessorGetArrayOptions

    Returns null | string[]

  • Parameters

    • key: string
    • val: string = DefaultValues.dateTime

    Returns string

  • Parameters

    • key: string

    Returns null | string

  • Parameters

    • key: string
    • Optionalopt: StorageAccessorGetArrayOptions

    Returns null | string[]

  • Parameters

    • key: string
    • val: string = '0'

    Returns string

  • Type Parameters

    Parameters

    • key: string
    • OptionalitemFactory: (key: string, storage: S) => T
    • Optionalopt: StorageAccessorGetOptions & { lazy?: boolean } & DictionaryCreateOptions<T>

    Returns null | IDictionary<T>

  • Type Parameters

    Parameters

    • key: string
    • keyName: string
    • itemFactory: (key: string, storage: S) => T
    • Optionalopt: StorageAccessorGetOptions & { omitTypedJsonListOptions?: boolean } & {
          ignoreCase?: boolean;
          lazy?: boolean;
      } & DictionaryCreateOptions<T>
      • OptionalomitTypedJsonListOptions?: boolean

        Игнорировать дополнительные опции для настройки списка с типизированным JSON.

      • OptionalignoreCase?: boolean
      • Optionallazy?: boolean

    Returns null | IDictionary<T>

  • Parameters

    • key: string

    Returns null | number

  • Parameters

    • key: string
    • val: number = 0

    Returns number

  • Parameters

    • key: string
    • enumeration: object
    • Optionaloptions: { ignoreCase?: boolean }

    Returns null | number

  • Parameters

    • key: string
    • enumeration: object
    • val: number = 0
    • Optionaloptions: { ignoreCase?: boolean }

    Returns number

  • Parameters

    • key: string

    Returns null | number

  • Parameters

    • key: string
    • val: number = 0

    Returns number

  • Parameters

    • key: string

    Returns null | string

  • Parameters

    • key: string
    • Optionalopt: StorageAccessorGetArrayOptions

    Returns null | string[]

  • Parameters

    • key: string
    • val: string = Guid.empty

    Returns string

  • Parameters

    • key: string

    Returns null | number

  • Parameters

    • key: string
    • val: number = 0

    Returns number

  • Type Parameters

    Parameters

    • key: string
    • OptionalitemFactory: (storage: S, i: number) => T
    • Optionalopt: StorageAccessorGetOptions & { omitTypedJsonListOptions?: boolean } & {
          lazy?: boolean;
      } & ListCreateOptions<T>
      • OptionalomitTypedJsonListOptions?: boolean

        Игнорировать дополнительные опции для настройки списка с типизированным JSON.

      • Optionallazy?: boolean

    Returns null | IList<T>

  • Parameters

    • key: string

    Returns null | number

  • Parameters

    • key: string
    • val: number = 0

    Returns number

  • Type Parameters

    Parameters

    • key: string
    • OptionalitemFactory: (key: string, storage: S) => T
    • Optionalopt: StorageAccessorGetOptions

    Returns null | Map<string, T>

  • Type Parameters

    Parameters

    • key: string
    • keyName: string
    • itemFactory: (key: string, storage: S) => T
    • Optionalopt: StorageAccessorGetArrayOptions

    Returns null | Map<string, T>

  • Parameters

    • key: string

    Returns null | number

  • Parameters

    • key: string
    • Optionalopt: StorageAccessorGetArrayOptions

    Returns null | number[]

  • Parameters

    • key: string
    • val: number = 0

    Returns number

  • Type Parameters

    Parameters

    • key: string
    • itemFactory: (storage: S) => T
    • Optionalopt: StorageAccessorGetOptions

    Returns null | T

  • Type Parameters

    • T

    Returns null | T

  • Parameters

    • key: string

    Returns null | string

  • Parameters

    • key: string
    • Optionalopt: StorageAccessorGetArrayOptions

    Returns null | string[]

  • Parameters

    • key: string
    • val: string = ''

    Returns string

MMNEPVFCICPMFPCPTTAAATR