C# Класс Java.Util.Concurrent.Runnable

Class to convert Action to IRunnable.
Наследование: IRunnable
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Equals ( Runnable other ) : bool

Determines whether the specified other instance is equal to the current Runnable.

Equals ( object obj ) : bool

Determines whether the specified object is equal to the current Runnable.

GetHashCode ( ) : int

Returns the has code of the inner action.

Run ( ) : void

The entry point. Invokes the delegate passed to the constructor Runnable(Action).

Runnable ( System.Action action ) : System

Construct a new instance of Runnable which calls action delegate with its Run method is invoked.

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

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

Determines whether the specified other instance is equal to the current Runnable.
public Equals ( Runnable other ) : bool
other Runnable /// The other to compare with the current instance. ///
Результат bool

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

Determines whether the specified object is equal to the current Runnable.
public Equals ( object obj ) : bool
obj object /// The to compare with the current instance. ///
Результат bool

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

Returns the has code of the inner action.
public GetHashCode ( ) : int
Результат int

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

The entry point. Invokes the delegate passed to the constructor Runnable(Action).
public Run ( ) : void
Результат void

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

Construct a new instance of Runnable which calls action delegate with its Run method is invoked.
public Runnable ( System.Action action ) : System
action System.Action /// The delegate to be called when is invoked. ///
Результат System