Design Pattern Framework 3.5
ProductController Class
Patterns-In-Action! Application ► ASPNETWebApplication.Controllers ► ProductController
Controller for products.
Declaration Syntax
C# | Visual Basic |
public class ProductController : ControllerBase
Public Class ProductController _ Inherits ControllerBase
Members
All Members | Constructors | Methods | Properties | ||
|
|
|
Icon | Member | Description |
---|---|---|
ProductController()()() |
Initializes a new instance of the ProductController class
|
|
AccessToken |
Gets or sets access token. If no token exists a new one is retrieved from service.
(Inherited from ControllerBase.) |
|
ActionServiceClient |
Lazy loads ActionServiceClient and stores it in Session object.
(Inherited from ControllerBase.) |
|
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.) |
|
GetCategories()()() |
Gets a list of product categories.
|
|
GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) |
|
GetProduct(Int32) |
Gets a specific product.
|
|
GetProductPriceRange()()() |
Gets a list of price ranges.
|
|
GetProducts(Int32, String) |
Gets a list of products.
|
|
GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) |
|
MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
NewRequestId |
Gets a new random GUID request id.
(Inherited from ControllerBase.) |
|
SearchProducts(String, Int32, String) |
Searches for products.
|
|
ToString()()() | (Inherited from Object.) |
Remarks
MV Patterns: Model View Controller Pattern.
This is an 'informal' implementation of the MVC pattern.
Inheritance Hierarchy
Object | ||
ControllerBase | ||
ProductController |