Design Pattern Framework 3.5
CustomerPresenter Class
Patterns-In-Action! Application ► WindowsFormsPresenter ► CustomerPresenter
Customer Presenter class.

C# | Visual Basic |
public class CustomerPresenter : Presenter<ICustomerView>
Public Class CustomerPresenter _ Inherits Presenter(Of ICustomerView)

All Members | Constructors | Methods | Properties | ||
|
|
|
Icon | Member | Description |
---|---|---|
![]() |
CustomerPresenter(ICustomerView) |
Constructor
|
![]() |
Delete(Int32) |
Deletes a customer by calling into model.
|
![]() |
Display(Int32) |
Gets customer from model and sets values in the view.
|
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
![]() |
GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() |
GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() |
MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() |
Save()()() |
Saves a customer by getting view data and sending it to model.
|
![]() |
ToString()()() | (Inherited from Object.) |
![]() |
View |
Gets and sets the view.
(Inherited from Presenter<(Of <(T>)>).) |

MV Patterns: MVP design pattern.

Object | ||
![]() |
Presenter < (Of < ( ICustomerView > ) > ) | |
![]() |
CustomerPresenter |