Interface IMarshal

Object control interface.

interface IMarshal {
    _guid: string;
    _type: Function;
    getObject(...args: any[]): object;
    setObject(...args: any[]): void;
}

Implemented by

Properties

Methods

Properties

_guid: string

Unique identifier of the object.

_type: Function

Type of object.

Methods

  • Obtain a serialized object of the target.

    Parameters

    • Rest...args: any[]

      Arguments to obtain serialized objects

    Returns object

    serialized objects

  • Sets the serialization object.

    Parameters

    • Rest...args: any[]

      Arguments for setting serialization objects

    Returns void