Presenter(T) Class

Design Pattern Framework 3.5

Design Pattern Framework 3.5 Presenter<(Of <(T>)>) Class
Patterns-In-Action! ApplicationWindowsFormsPresenterPresenter<(Of <(T>)>)
Base class for all presenter classes. Keeps track of Model and View classes. Notice that Model is static and View is set in the constructor.
Declaration Syntax
C# Visual Basic
public class Presenter<T>
where T : IView
Public Class Presenter(Of T As IView)
Generic Template Parameters
T
Type of view.
Members
All Members Constructors Methods Properties



Icon Member Description
Presenter<(Of <(T>)>)(T)
Constructor. Sets the view.

Equals(Object)
Determines whether the specified Object is equal to the current 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.)
Model
Gets and sets the model statically.

ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
View
Gets and sets the view.

Remarks
MV Patterns: MVP design pattern.
Inheritance Hierarchy

Assembly: WindowsFormsPresenter (Module: WindowsFormsPresenter) Version: 1.0.0.0 (1.0.0.0)