C# 클래스 Habanero.Faces.Base.ConfirmingBusinessObjectDeletor

This is an IBusinessObjectDeletor that uses the specified IConfirmer to prompt the user for confirmation of the deletion. If the user confirms, the BusinessObject will be deleted. If the user does not confirm then the BusinessObject will not be deleted.
상속: IBusinessObjectDeletor
파일 보기 프로젝트 열기: Chillisoft/habanero.faces 1 사용 예제들

공개 메소드들

메소드 설명
ConfirmingBusinessObjectDeletor ( IConfirmer confirmer ) : System

Constructs a new ConfirmingBusinessObjectDeletor with the specified IConfirmer.

ConfirmingBusinessObjectDeletor ( IConfirmer confirmer, string>.Function customConfirmationMessageDelegate ) : System

Constructs a new ConfirmingBusinessObjectDeletor with the specified IConfirmer and a delegate for constructing the confirmation message.

DeleteBusinessObject ( IBusinessObject businessObject ) : void

Deletes the given business object

메소드 상세

ConfirmingBusinessObjectDeletor() 공개 메소드

Constructs a new ConfirmingBusinessObjectDeletor with the specified IConfirmer.
public ConfirmingBusinessObjectDeletor ( IConfirmer confirmer ) : System
confirmer IConfirmer The to use to prompt the user for confirmation of the deletion.
리턴 System

ConfirmingBusinessObjectDeletor() 공개 메소드

Constructs a new ConfirmingBusinessObjectDeletor with the specified IConfirmer and a delegate for constructing the confirmation message.
public ConfirmingBusinessObjectDeletor ( IConfirmer confirmer, string>.Function customConfirmationMessageDelegate ) : System
confirmer IConfirmer The to use to prompt the user for confirmation of the deletion.
customConfirmationMessageDelegate string>.Function The delegate to use for constructing the confirmation message that will be /// displayed to the user for a particular .
리턴 System

DeleteBusinessObject() 공개 메소드

Deletes the given business object
public DeleteBusinessObject ( IBusinessObject businessObject ) : void
businessObject IBusinessObject The business object to delete
리턴 void