C# 클래스 Caliburn.Micro.Screen

A base implementation of IScreen.
상속: ViewAware, IScreen, IChild
파일 보기 프로젝트 열기: bryanhunter/CaliburnMicroTalk 1 사용 예제들

공개 메소드들

메소드 설명
CanClose ( Action callback ) : void

Called to check whether or not this instance can close.

Screen ( ) : System

Creates an instance of the screen.

TryClose ( ) : void

Tries to close this instance by asking its Parent to initiate shutdown or by asking its corresponding view to close.

TryClose ( bool dialogResult ) : void

Closes this instance by asking its Parent to initiate shutdown or by asking it's corresponding view to close. This overload also provides an opportunity to pass a dialog result to it's corresponding view.

보호된 메소드들

메소드 설명
OnActivate ( ) : void

Called when activating.

OnDeactivate ( bool close ) : void

Called when deactivating.

OnInitialize ( ) : void

Called when initializing.

비공개 메소드들

메소드 설명
GetViewCloseAction ( bool dialogResult ) : System.Action
IActivate ( ) : void
IDeactivate ( bool close ) : void

메소드 상세

CanClose() 공개 메소드

Called to check whether or not this instance can close.
public CanClose ( Action callback ) : void
callback Action The implementor calls this action with the result of the close check.
리턴 void

OnActivate() 보호된 메소드

Called when activating.
protected OnActivate ( ) : void
리턴 void

OnDeactivate() 보호된 메소드

Called when deactivating.
protected OnDeactivate ( bool close ) : void
close bool Inidicates whether this instance will be closed.
리턴 void

OnInitialize() 보호된 메소드

Called when initializing.
protected OnInitialize ( ) : void
리턴 void

Screen() 공개 메소드

Creates an instance of the screen.
public Screen ( ) : System
리턴 System

TryClose() 공개 메소드

Tries to close this instance by asking its Parent to initiate shutdown or by asking its corresponding view to close.
public TryClose ( ) : void
리턴 void

TryClose() 공개 메소드

Closes this instance by asking its Parent to initiate shutdown or by asking it's corresponding view to close. This overload also provides an opportunity to pass a dialog result to it's corresponding view.
public TryClose ( bool dialogResult ) : void
dialogResult bool The dialog result.
리턴 void