C# Class 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.
Inheritance: IBusinessObjectDeletor
Afficher le fichier Open project: Chillisoft/habanero.faces Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

ConfirmingBusinessObjectDeletor() public méthode

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.
Résultat System

ConfirmingBusinessObjectDeletor() public méthode

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 .
Résultat System

DeleteBusinessObject() public méthode

Deletes the given business object
public DeleteBusinessObject ( IBusinessObject businessObject ) : void
businessObject IBusinessObject The business object to delete
Résultat void