Поддерживает клонирование, при котором создается новый экземпляр класса с тем же значением, что и у существующего экземпляра.

interface IUserInfo {
    contacts: UserInfoContact[];
    department: null | string;
    id: string;
    info: null | IStorage;
    name: string;
    position: null | string;
    clone(): IUserInfo;
    deserializeFromStorage(
        storage: IStorage,
        context?: StorageSerializableContext,
    ): this;
    serializeToStorage(
        storage?: IStorage,
        context?: StorageSerializableContext,
    ): IStorage;
}

Hierarchy (View Summary, Expand)

Implemented by

Properties

contacts: UserInfoContact[]
department: null | string
id: string
info: null | IStorage
name: string
position: null | string

Methods

  • Создает новый объект, который является копией текущего экземпляра.

    Returns IUserInfo

MMNEPVFCICPMFPCPTTAAATR