C# Класс clojure.lang.Agent.Action

An encapsulated message.
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Action ( Agent agent, IFn fn, ISeq args, bool solo ) : System

Create an encapsulated message to an agent.

execute ( ) : void

Send the message.

Приватные методы

Метод Описание
ExecuteAction ( object state ) : void

Worker method to execute the action on a thread.

corresponds to doRun in Java version

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

Action() публичный Метод

Create an encapsulated message to an agent.
public Action ( Agent agent, IFn fn, ISeq args, bool solo ) : System
agent Agent The agent the message is for.
fn IFn The function to compute the new value.
args ISeq Additional arguments (in addition to the current state).
solo bool Execute on its own thread?
Результат System

execute() публичный Метод

Send the message.
public execute ( ) : void
Результат void