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 or prototype object.

      • OptionalpropertyKey: string

        Optional property name.

      Returns undefined | T

      The stored value or undefined.

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

      Type Parameters

      • T

      Parameters

      • key: MetadataInjectionKeys

        Metadata key.

      • target: Object

        Class constructor or prototype object.

      • OptionalpropertyKey: string

        Optional property name.

      Returns undefined | T

      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 or prototype object.

      • OptionalpropertyKey: string

        Optional property name.

      Returns void