zibri
    Preparing search index...

    Class ReflectUtilitiesAbstract

    Utilities for dealing with reflection.

    Index

    Constructors

    Methods

    • Read metadata from a target (class or prototype+property).

      Type Parameters

      • T

      Parameters

      • key: MetadataInjectionKeys

        Metadata key.

      • target: Object

        Class constructor.

      • OptionalpropertyKey: string

        Optional property name.

      Returns T | undefined

      The stored value or undefined.

    • Gets all keys for metadata that has been defined on the given target.

      Parameters

      • target: Object

        Class constructor.

      • OptionalpropertyKey: string

        Optional property name.

      Returns string[]

      The found metadata keys.

    • Read the own metadata from a target (class or prototype+property).

      Type Parameters

      • T

      Parameters

      • key: MetadataInjectionKeys

        Metadata key.

      • target: Object

        Class constructor.

      • OptionalpropertyKey: string

        Optional property name.

      Returns T | undefined

      The stored value or undefined.

    • Set metadata on a target (class or prototype+property).

      Type Parameters

      • T

      Parameters

      • key: MetadataInjectionKeys

        Unique metadata key (symbol or string).

      • value: T

        Value to store.

      • target: Object

        Class constructor.

      • OptionalpropertyKey: string

        Optional property name.

      Returns void