C# Класс Rakudo.Metamodel.REPRRegistry

This is our central registry of representations.
Показать файл Открыть проект

Открытые методы

Метод Описание
get_REPR_by_id ( int ID ) : Representation

Gets a representation by ID.

get_REPR_by_name ( string Name ) : Representation

Gets a representation by name.

register_REPR ( string Name, Representation REPR ) : int

Adds a representation to the registry and returns its registered ID.

Описание методов

get_REPR_by_id() публичный статический Метод

Gets a representation by ID.
public static get_REPR_by_id ( int ID ) : Representation
ID int
Результат Representation

get_REPR_by_name() публичный статический Метод

Gets a representation by name.
public static get_REPR_by_name ( string Name ) : Representation
Name string
Результат Representation

register_REPR() публичный статический Метод

Adds a representation to the registry and returns its registered ID.
public static register_REPR ( string Name, Representation REPR ) : int
Name string
REPR Representation
Результат int