Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ContextualData

Helper to store data in the local context.

Hierarchy

  • ContextualData

Index

Methods

Static get

  • get(key: string): string
  • Get a value from the contextual data map.

    Parameters

    • key: string

    Returns string

Static getAll

  • getAll(): {}
  • Get all values from the contextual data map.

    Returns {}

    • [key: string]: string

Static getOrDefault

  • getOrDefault(key: string, defaultValue: string): string
  • Get a value from the contextual data map.

    Parameters

    • key: string
    • defaultValue: string

    Returns string

Static put

  • put(key: string, value: string): void
  • Put a value in the contextual data map.

    Parameters

    • key: string
    • value: string

    Returns void

Generated using TypeDoc