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
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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