C# 클래스 BitSharper.Threading.Runnable

Class to convert Action to IRunnable.
상속: IRunnable
파일 보기 프로젝트 열기: TangibleCryptography/BitSharper 1 사용 예제들

공개 메소드들

메소드 설명
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