C# 클래스 Appccelerate.StateMachine.Machine.GuardHolders.ArgumentLessGuardHolder

Holds an argument less guard.
상속: IGuardHolder
파일 보기 프로젝트 열기: appccelerate/appccelerate

공개 메소드들

메소드 설명
ArgumentLessGuardHolder ( Func guard ) : System

Initializes a new instance of the ArgumentLessGuardHolder class.

Describe ( ) : string

Describes the guard.

Execute ( object argument ) : bool

Executes the guard.

메소드 상세

ArgumentLessGuardHolder() 공개 메소드

Initializes a new instance of the ArgumentLessGuardHolder class.
public ArgumentLessGuardHolder ( Func guard ) : System
guard Func The guard.
리턴 System

Describe() 공개 메소드

Describes the guard.
public Describe ( ) : string
리턴 string

Execute() 공개 메소드

Executes the guard.
public Execute ( object argument ) : bool
argument object The state machine event argument.
리턴 bool