Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FileValue

A value that loads its value from a file.

Hierarchy

  • FileValue

Implements

Index

Constructors

Properties

Accessors

Constructors

constructor

  • new FileValue(file: string, format: string, resolvePath: ego_contracts.PathResolver, name?: string): FileValue
  • Initializes a new instance of that class.

    Parameters

    • file: string

      The path to the file.

    • format: string

      The (target) data format.

    • resolvePath: ego_contracts.PathResolver

      The function that resolves a (relative) path.

    • Optional name: string

    Returns FileValue

Properties

file

file: string

The path to the file.

format

format: string

The (target) data format.

Optional name

name: string

resolvePath

resolvePath: ego_contracts.PathResolver

The function that resolves a (relative) path.

Accessors

value

  • get value(): any
  • The value.

    inheritdoc

    Returns any

Generated using TypeDoc