H
H
HemulGM2020-01-15 10:29:55
OOP
HemulGM, 2020-01-15 10:29:55

What is the name of such a class implementation principle?

What's the name of the concept of creating classes where all (almost) methods return a reference to themselves?
Example:

VK1.Messages.Send.PeerId(MessageData.PeerId).Message('Тест - ответ').Send;

or
TSQLSelect.Create.Ref
    .Fields([oIPerson.Fields])
    .From(oIPerson.Table)
    .Build;

I'm building such classes, but I don't remember the name of the method. For some reason Google doesn't help. Probably not what I'm asking.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kirill Alekseev, 2020-01-15
@HemulGM

fluent interface ?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question